/[gentoo-x86]/games-puzzle/enigma/enigma-1.00-r1.ebuild
Gentoo

Contents of /games-puzzle/enigma/enigma-1.00-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Apr 9 21:59:40 2007 UTC (12 years, 9 months ago) by nyhm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
remove old revision
(Portage version: 2.1.2.3)

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-puzzle/enigma/enigma-1.00-r1.ebuild,v 1.4 2007/02/07 14:06:16 nyhm Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="puzzle game similar to Oxyd"
8 HOMEPAGE="http://www.nongnu.org/enigma/"
9 SRC_URI="mirror://berlios/enigma-game/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ppc ~sparc x86"
14 IUSE="nls"
15
16 RDEPEND="media-libs/sdl-ttf
17 media-libs/libsdl
18 media-libs/sdl-mixer
19 media-libs/sdl-image
20 dev-libs/xerces-c
21 nls? ( virtual/libintl )"
22 DEPEND="${RDEPEND}
23 nls? ( sys-devel/gettext )"
24
25 src_unpack() {
26 unpack ${A}
27 cd "${S}"
28 epatch "${FILESDIR}"/${P}-build.patch
29 }
30
31 src_compile() {
32 egamesconf \
33 --disable-dependency-tracking \
34 $(use_enable nls) \
35 || die
36 emake || die "emake failed"
37 }
38
39 src_install() {
40 emake DESTDIR="${D}" install || die "emake install failed"
41 dodoc ACKNOWLEDGEMENTS AUTHORS CHANGES README doc/HACKING
42 dohtml -r doc/*
43 doman doc/enigma.6
44 prepgamesdirs
45 }

  ViewVC Help
Powered by ViewVC 1.1.20