Lines 2-9
Link Here
|
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-engines/gemrb/gemrb-0.6.0.ebuild,v 1.2 2010/02/03 21:49:34 maekke Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/gemrb-0.6.0.ebuild,v 1.2 2010/02/03 21:49:34 maekke Exp $ |
4 |
|
4 |
|
|
|
5 |
PYTHON_DEPEND="2:2.4" |
6 |
|
5 |
EAPI=2 |
7 |
EAPI=2 |
6 |
inherit autotools eutils games |
8 |
inherit autotools eutils games python |
7 |
|
9 |
|
8 |
DESCRIPTION="Reimplementation of the Infinity engine" |
10 |
DESCRIPTION="Reimplementation of the Infinity engine" |
9 |
HOMEPAGE="http://gemrb.sourceforge.net/" |
11 |
HOMEPAGE="http://gemrb.sourceforge.net/" |
Lines 38-48
Link Here
|
38 |
} |
40 |
} |
39 |
|
41 |
|
40 |
src_configure() { |
42 |
src_configure() { |
|
|
43 |
python_set_active_version 2 |
41 |
egamesconf \ |
44 |
egamesconf \ |
42 |
--disable-dependency-tracking \ |
45 |
--disable-dependency-tracking \ |
43 |
--docdir="/usr/share/doc/${PF}" |
46 |
--docdir="/usr/share/doc/${PF}" |
44 |
} |
47 |
} |
45 |
|
48 |
|
|
|
49 |
src_prepare() { |
50 |
python_convert_shebangs -r 2 . |
51 |
} |
52 |
|
53 |
|
46 |
src_install() { |
54 |
src_install() { |
47 |
emake DESTDIR="${D}" install || die "install failed" |
55 |
emake DESTDIR="${D}" install || die "install failed" |
48 |
diropts -m0775 -g ${GAMES_GROUP} |
56 |
diropts -m0775 -g ${GAMES_GROUP} |