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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Jun 26 03:13:27 2008 UTC (11 years, 6 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.4.4)

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-r2.ebuild,v 1.4 2007/04/09 16:09:30 welp Exp $
4
5 inherit autotools 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 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 net-libs/enet
22 nls? ( virtual/libintl )"
23 DEPEND="${RDEPEND}
24 sys-devel/gettext"
25
26 src_unpack() {
27 unpack ${A}
28 cd "${S}"
29 cp /usr/share/gettext/config.rpath .
30 epatch "${FILESDIR}"/${P}-autotools.patch
31 eautoreconf
32 }
33
34 src_compile() {
35 egamesconf \
36 --disable-dependency-tracking \
37 $(use_enable nls) \
38 || die
39 emake || die "emake failed"
40 }
41
42 src_install() {
43 emake DESTDIR="${D}" install || die "emake install failed"
44 dodoc ACKNOWLEDGEMENTS AUTHORS CHANGES README doc/HACKING
45 dohtml -r doc/*
46 doman doc/enigma.6
47 prepgamesdirs
48 }

  ViewVC Help
Powered by ViewVC 1.1.20