/[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.1 - (hide annotations) (download)
Mon Jan 1 01:56:30 2007 UTC (13 years, 1 month ago) by nyhm
Branch: MAIN
Fix data loading, bug #158759
(Portage version: 2.1.2_rc4-r3)

1 nyhm 1.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.ebuild,v 1.1 2006/12/21 08:47:58 mr_bones_ Exp $
4    
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     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