/[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.3 - (hide annotations) (download)
Wed Jan 31 05:30:26 2007 UTC (13 years ago) by josejx
Branch: MAIN
Changes since 1.2: +2 -2 lines
Marked ppc stable.
(Portage version: 2.1.2-r5)

1 nyhm 1.1 # Copyright 1999-2007 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 josejx 1.3 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/enigma-1.00-r1.ebuild,v 1.2 2007/01/29 06:08:34 mr_bones_ Exp $
4 nyhm 1.1
5     inherit eutils games
6    
7     DESCRIPTION="puzzle game similar to Oxyd"
8     HOMEPAGE="http://www.nongnu.org/enigma/"
9     SRC_URI="http://download.berlios.de/enigma-game/${P}.tar.gz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13 josejx 1.3 KEYWORDS="~amd64 ppc ~sparc x86"
14 nyhm 1.1 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