From 08df7e818594a6d44799ee786f2c9cc5ddda52e4 Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Fri, 6 Apr 2007 00:47:31 +0000 Subject: [PATCH] use games_get_libdir Package-Manager: portage-2.1.2.3 --- games-arcade/solarwolf/Manifest | 16 ++++++++-------- games-arcade/solarwolf/solarwolf-1.5.ebuild | 19 ++++++++----------- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/games-arcade/solarwolf/Manifest b/games-arcade/solarwolf/Manifest index eef6c431557c..34de3652c5f8 100644 --- a/games-arcade/solarwolf/Manifest +++ b/games-arcade/solarwolf/Manifest @@ -2,10 +2,10 @@ Hash: SHA1 DIST solarwolf-1.5.tar.gz 2045888 RMD160 5ac1d38aa7321d9cd9785c41070f4a98f2218258 SHA1 31dabba3867875d49ac9fc116d4d317f50473d34 SHA256 bd261c17e9aad6ab18925d74bbdeaf8e57d24e707c96f7073386561d8ebd219f -EBUILD solarwolf-1.5.ebuild 1174 RMD160 25389a22220489476f7117e91dc0dc2509e46394 SHA1 3b298a78c6233c568eb07d3ab7f564cfeba744aa SHA256 c41efbf21e4a55b8922777dad37081140b3e7e137db2316012798d34d968b2ed -MD5 12029337d082190688089cc759a27f7d solarwolf-1.5.ebuild 1174 -RMD160 25389a22220489476f7117e91dc0dc2509e46394 solarwolf-1.5.ebuild 1174 -SHA256 c41efbf21e4a55b8922777dad37081140b3e7e137db2316012798d34d968b2ed solarwolf-1.5.ebuild 1174 +EBUILD solarwolf-1.5.ebuild 1081 RMD160 d780933abc1362eb94f0f197b625c1dd778f163b SHA1 b0bfbf4d1289b055711da34e50d46e342ef49981 SHA256 55a98d3e52c94bc8c878629bbe1051392fb019ea3f20184cbc0fa547ab11ce82 +MD5 cce09607ea4fb79ac35dfd7e2ada8064 solarwolf-1.5.ebuild 1081 +RMD160 d780933abc1362eb94f0f197b625c1dd778f163b solarwolf-1.5.ebuild 1081 +SHA256 55a98d3e52c94bc8c878629bbe1051392fb019ea3f20184cbc0fa547ab11ce82 solarwolf-1.5.ebuild 1081 MISC ChangeLog 2042 RMD160 51abd8a1ab8be7e4b0a667c903ed3ad40f934b96 SHA1 9956ee791838fcd438b3a76c474552ae9c86655d SHA256 94f463d3190721a3254e94b8df882f4e3f6db850a1615b31a0b2c07ef9961611 MD5 24e9473d83c53ce02e63f8a7dafae505 ChangeLog 2042 RMD160 51abd8a1ab8be7e4b0a667c903ed3ad40f934b96 ChangeLog 2042 @@ -18,9 +18,9 @@ MD5 d845f9bc41e420bff4492f8d70b74705 files/digest-solarwolf-1.5 244 RMD160 bea488ee22643331357023c137b80fc3c3455139 files/digest-solarwolf-1.5 244 SHA256 c79ee2fe362ad9ca9e90ce8fe49537bfbb6dabd7a800fd501e45c18b06f6a8ac files/digest-solarwolf-1.5 244 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.1 (GNU/Linux) +Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFFubxU8bi6rjpTunYRAotQAJ9jXN0X+RFK9Z2Z025RZnSXrq9XfACfaNr7 -90O14Fl/H0R23REfcvMl4uY= -=oFPV +iD8DBQFGFZipdz7hIScOURERAmd4AKC+sN9jik3xl+6XpzvSzGR4ByufDgCgrBlW +uD+D81i/eP8TieSjcSrxGWY= +=EEq1 -----END PGP SIGNATURE----- diff --git a/games-arcade/solarwolf/solarwolf-1.5.ebuild b/games-arcade/solarwolf/solarwolf-1.5.ebuild index 72547ae2ae1b..1f60fdd4a390 100644 --- a/games-arcade/solarwolf/solarwolf-1.5.ebuild +++ b/games-arcade/solarwolf/solarwolf-1.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/solarwolf/solarwolf-1.5.ebuild,v 1.15 2007/01/26 08:30:31 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/solarwolf/solarwolf-1.5.ebuild,v 1.16 2007/04/06 00:47:31 nyhm Exp $ inherit eutils games @@ -13,9 +13,7 @@ SLOT="0" KEYWORDS="alpha amd64 hppa ppc ~sparc x86" IUSE="" -DEPEND=">=dev-python/pygame-1.5.6 - >=dev-lang/python-2.3 - media-libs/libsdl" +RDEPEND=">=dev-python/pygame-1.5.6" pkg_setup() { if ! built_with_use media-libs/sdl-mixer mikmod ; then @@ -28,16 +26,15 @@ src_unpack() { unpack ${A} cd "${S}" find . -name .xvpics -print0 | xargs -0 rm -fr - gunzip dist/solarwolf.6.gz || die } src_install() { + insinto "$(games_get_libdir)"/${PN} + doins -r code data *py || die "doins lib failed" + games_make_wrapper ${PN} "python ./solarwolf.py" "$(games_get_libdir)"/${PN} + doicon dist/${PN}.png + make_desktop_entry ${PN} SolarWolf dodoc readme.txt - doman dist/solarwolf.6 - dodir "${GAMES_LIBDIR}/${PN}" - cp -r code/ data/ *py "${D}/${GAMES_LIBDIR}/${PN}/" || die "cp failed" - games_make_wrapper solarwolf "python ./solarwolf.py" "${GAMES_LIBDIR}/${PN}" - doicon dist/solarwolf.png - make_desktop_entry solarwolf + doman dist/${PN}.6.gz prepgamesdirs } -- 2.26.2