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 |
|
|
35 |
|
36 |
if use amd64; then |
37 |
epatch "${FILESDIR}/${P}-xerces3.0.patch" || die |
38 |
fi |
34 |
eautoreconf |
39 |
eautoreconf |
35 |
} |
40 |
} |
36 |
|
41 |
|
37 |
src_configure() { |
42 |
src_compile() { |
38 |
egamesconf \ |
43 |
egamesconf \ |
39 |
--disable-dependency-tracking \ |
44 |
--disable-dependency-tracking \ |
40 |
$(use_enable nls) \ |
45 |
$(use_enable nls) \ |
41 |
|| die |
46 |
|| die |
|
|
47 |
emake || die "emake failed" |
42 |
} |
48 |
} |
43 |
|
49 |
|
44 |
src_install() { |
50 |
src_install() { |