|
Lines 1-8
Link Here
|
| 1 |
# Copyright 1999-2009 Gentoo Foundation |
1 |
# Copyright 1999-2008 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/enigma-1.01.ebuild,v 1.10 2009/01/12 06:19:29 mr_bones_ Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/enigma-1.01.ebuild,v 1.7 2008/08/18 05:47:19 mr_bones_ Exp $ |
| 4 |
|
4 |
|
| 5 |
EAPI=2 |
|
|
| 6 |
inherit autotools eutils games |
5 |
inherit autotools eutils games |
| 7 |
|
6 |
|
| 8 |
DESCRIPTION="puzzle game similar to Oxyd" |
7 |
DESCRIPTION="puzzle game similar to Oxyd" |
|
Lines 17-44
Link Here
|
| 17 |
RDEPEND="media-libs/sdl-ttf |
16 |
RDEPEND="media-libs/sdl-ttf |
| 18 |
media-libs/libsdl |
17 |
media-libs/libsdl |
| 19 |
media-libs/sdl-mixer |
18 |
media-libs/sdl-mixer |
| 20 |
media-libs/sdl-image[png] |
19 |
media-libs/sdl-image |
| 21 |
media-libs/libpng |
20 |
media-libs/libpng |
| 22 |
>=dev-libs/xerces-c-3 |
21 |
dev-libs/xerces-c |
| 23 |
net-libs/enet |
22 |
net-libs/enet |
| 24 |
nls? ( virtual/libintl )" |
23 |
nls? ( virtual/libintl )" |
| 25 |
DEPEND="${RDEPEND} |
24 |
DEPEND="${RDEPEND} |
| 26 |
sys-devel/gettext" |
25 |
sys-devel/gettext" |
| 27 |
|
26 |
|
| 28 |
src_prepare() { |
27 |
src_unpack() { |
|
|
28 |
unpack ${A} |
| 29 |
cd "${S}" |
| 29 |
cp /usr/share/gettext/config.rpath . |
30 |
cp /usr/share/gettext/config.rpath . |
| 30 |
epatch \ |
31 |
epatch \ |
| 31 |
"${FILESDIR}"/${P}-autotools.patch \ |
32 |
"${FILESDIR}"/${P}-autotools.patch \ |
| 32 |
"${FILESDIR}"/${P}-gcc43.patch \ |
33 |
"${FILESDIR}"/${P}-gcc43.patch \ |
| 33 |
"${FILESDIR}"/${P}-xerces-c.patch |
34 |
"${FILESDIR}"/${P}-xerces3.patch |
| 34 |
eautoreconf |
35 |
eautoreconf |
| 35 |
} |
36 |
} |
| 36 |
|
37 |
|
| 37 |
src_configure() { |
38 |
src_compile() { |
| 38 |
egamesconf \ |
39 |
egamesconf \ |
| 39 |
--disable-dependency-tracking \ |
40 |
--disable-dependency-tracking \ |
| 40 |
$(use_enable nls) \ |
41 |
$(use_enable nls) \ |
| 41 |
|| die |
42 |
|| die |
|
|
43 |
emake || die "emake failed" |
| 42 |
} |
44 |
} |
| 43 |
|
45 |
|
| 44 |
src_install() { |
46 |
src_install() { |