/[gentoo-x86]/games-strategy/crimson/crimson-0.5.1.ebuild
Gentoo

Contents of /games-strategy/crimson/crimson-0.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Nov 22 23:39:08 2009 UTC (10 years ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.6.13/cvs/Linux i686)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-strategy/crimson/crimson-0.5.1.ebuild,v 1.3 2007/07/01 23:58:55 nyhm Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="Tactical war game in the tradition of Battle Isle"
8 HOMEPAGE="http://crimson.seul.org/"
9 SRC_URI="http://crimson.seul.org/files/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ppc sparc x86"
14 IUSE="test zlib"
15
16 RDEPEND="media-libs/libsdl
17 media-libs/sdl-mixer
18 media-libs/sdl-ttf
19 zlib? ( sys-libs/zlib )"
20 DEPEND="${RDEPEND}
21 dev-libs/libxslt
22 test? (
23 =app-text/docbook-xml-dtd-4.2*
24 dev-libs/libxml2
25 )"
26
27 src_compile() {
28 egamesconf \
29 --disable-dependency-tracking \
30 $(use_with zlib) \
31 --enable-cfed \
32 --enable-bi2cf \
33 --enable-comet \
34 --enable-cf2bmp \
35 || die
36 emake || die "emake failed"
37 }
38
39 src_install() {
40 emake \
41 DESTDIR="${D}" \
42 pixmapsdir="/usr/share/pixmaps" \
43 install || die "emake install failed"
44 dodoc NEWS README* THANKS TODO
45 rm -rf "${D}/${GAMES_DATADIR}/applications"
46 make_desktop_entry crimson "Crimson Fields"
47 prepgamesdirs
48 }
49
50 pkg_postinst() {
51 games_pkg_postinst
52 echo
53 ewarn "Crimson Fields ${PV} is not save-game compatible with previous versions."
54 echo
55 elog "If you have older save files and you wish to continue those games,"
56 elog "you'll need to remerge the version with which you started"
57 elog "those save-games."
58 }

  ViewVC Help
Powered by ViewVC 1.1.20