Line
Link Here
|
0 |
-- xpilot-ng-4.7.2-r1.ebuild |
0 |
++ xpilot-ng-4.7.2-r1.ebuild |
Lines 3-8
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/games-action/xpilot-ng/xpilot-ng-4.7.2-r1.ebuild,v 1.9 2010/01/22 20:05:05 ranger Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-action/xpilot-ng/xpilot-ng-4.7.2-r1.ebuild,v 1.9 2010/01/22 20:05:05 ranger Exp $ |
4 |
|
4 |
|
5 |
EAPI=2 |
5 |
EAPI=2 |
|
|
6 |
PYTHON_DEPEND="2" |
6 |
inherit python eutils multilib games |
7 |
inherit python eutils multilib games |
7 |
|
8 |
|
8 |
DESCRIPTION="Improvement of the multiplayer space game XPilot" |
9 |
DESCRIPTION="Improvement of the multiplayer space game XPilot" |
Lines 31-36
Link Here
|
31 |
x11-proto/xextproto |
32 |
x11-proto/xextproto |
32 |
x11-proto/xproto" |
33 |
x11-proto/xproto" |
33 |
|
34 |
|
|
|
35 |
pkg_setup() { |
36 |
python_set_active_version 2 |
37 |
games_pkg_setup |
38 |
} |
39 |
|
34 |
src_prepare() { |
40 |
src_prepare() { |
35 |
epatch "${FILESDIR}/${P}"-xpngcc.patch \ |
41 |
epatch "${FILESDIR}/${P}"-xpngcc.patch \ |
36 |
"${FILESDIR}"/${P}-glibc210.patch |
42 |
"${FILESDIR}"/${P}-glibc210.patch |
Lines 52-64
Link Here
|
52 |
src_install() { |
58 |
src_install() { |
53 |
emake DESTDIR="${D}" install || die "emake install failed" |
59 |
emake DESTDIR="${D}" install || die "emake install failed" |
54 |
dodoc AUTHORS ChangeLog README |
60 |
dodoc AUTHORS ChangeLog README |
55 |
python_version |
|
|
56 |
insinto "${GAMES_DATADIR}"/${PN}/xpngcc |
61 |
insinto "${GAMES_DATADIR}"/${PN}/xpngcc |
57 |
doins contrib/xpngcc/*.py contrib/xpngcc/*.png |
62 |
doins contrib/xpngcc/*.py contrib/xpngcc/*.png |
58 |
exeinto "${GAMES_DATADIR}"/${PN}/xpngcc |
63 |
exeinto "${GAMES_DATADIR}"/${PN}/xpngcc |
59 |
doexe contrib/xpngcc/xpngcc.py |
64 |
doexe contrib/xpngcc/xpngcc.py |
60 |
dodir /usr/$(get_libdir)/python${PYVER}/site-packages |
65 |
dodir $(python_get_sitedir) |
61 |
dosym "${GAMES_DATADIR}"/${PN}/xpngcc /usr/$(get_libdir)/python${PYVER}/site-packages/xpngcc |
66 |
dosym "${GAMES_DATADIR}"/${PN}/xpngcc $(python_get_sitedir)/xpngcc |
62 |
dosym "${GAMES_DATADIR}"/${PN}/xpngcc/xpngcc.py "${GAMES_BINDIR}"/xpilot-ng |
67 |
dosym "${GAMES_DATADIR}"/${PN}/xpngcc/xpngcc.py "${GAMES_BINDIR}"/xpilot-ng |
63 |
doicon "${DISTDIR}"/${PN}.png |
68 |
doicon "${DISTDIR}"/${PN}.png |
64 |
make_desktop_entry ${PN} "XPilot NG" |
69 |
make_desktop_entry ${PN} "XPilot NG" |