use games_get_libdir
authorTristan Heaven <tristan@gentoo.org>
Fri, 6 Apr 2007 20:46:18 +0000 (20:46 +0000)
committerTristan Heaven <tristan@gentoo.org>
Fri, 6 Apr 2007 20:46:18 +0000 (20:46 +0000)
Package-Manager: portage-2.1.2.3

games-emulation/ps2emu-dev9null/Manifest
games-emulation/ps2emu-dev9null/ps2emu-dev9null-0.3.ebuild

index d131b5ddc850eb5eb5edf1637a195c658868a077..5ca6f92a14ffbd745f70234aaacfb858c14d6f7f 100644 (file)
@@ -1,8 +1,11 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 DIST dev9null03.rar 65356 RMD160 1efdae38c98991ae0e08c95bc7df473acd1e2f3e SHA1 e3edd96df5b552b60dc53e073279d10441565560 SHA256 05771003e92c6e85e173c3e00ece0c9341b08ce3ad506694c153503c11a5e5fa
-EBUILD ps2emu-dev9null-0.3.ebuild 909 RMD160 def04e25d4b861ff99f381c6278eae0ddf7a74a4 SHA1 64fffd64eb5a930e4c5be105537e03afcfcdfdd9 SHA256 cd57a88f5442a7e3d1c72a06431c31f37a8690029ee00152f01d86d3d0bf08ee
-MD5 354573e7d082378ee68cabe683a679bf ps2emu-dev9null-0.3.ebuild 909
-RMD160 def04e25d4b861ff99f381c6278eae0ddf7a74a4 ps2emu-dev9null-0.3.ebuild 909
-SHA256 cd57a88f5442a7e3d1c72a06431c31f37a8690029ee00152f01d86d3d0bf08ee ps2emu-dev9null-0.3.ebuild 909
+EBUILD ps2emu-dev9null-0.3.ebuild 898 RMD160 dfd3653ec5cd1d780773344df4fb1e7fea5eb13f SHA1 277998e31dfafc9b38e4d37c659b0263a2a84f24 SHA256 1d5c33f5825beb913e11957945210a555bd86422d76cdbb24191f210bc61c16c
+MD5 b9f76f000ddb235e45082516d825bf30 ps2emu-dev9null-0.3.ebuild 898
+RMD160 dfd3653ec5cd1d780773344df4fb1e7fea5eb13f ps2emu-dev9null-0.3.ebuild 898
+SHA256 1d5c33f5825beb913e11957945210a555bd86422d76cdbb24191f210bc61c16c ps2emu-dev9null-0.3.ebuild 898
 MISC ChangeLog 598 RMD160 a4099aba8aa9d40c87e61bff6af462f26667e50a SHA1 aa7ea8fc3a96b8a4d3a5f5575610a9ecc64e2c45 SHA256 f9e058adc205a8209ed2e97ac4ee84893b4a4b6c4ddebbd790eeacc96be03fb1
 MD5 897d6399a55890d0d642b33aff88d643 ChangeLog 598
 RMD160 a4099aba8aa9d40c87e61bff6af462f26667e50a ChangeLog 598
@@ -14,3 +17,10 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
 MD5 cd2f4f10d3a90eeb172493433dc5c6f6 files/digest-ps2emu-dev9null-0.3 220
 RMD160 c15ea88d73a1504434e3a909384941179e5246ff files/digest-ps2emu-dev9null-0.3 220
 SHA256 8d373a48494aa3dfb4bd63c2f2b0c9dc339a61c021e6c4c146cb7964844a4299 files/digest-ps2emu-dev9null-0.3 220
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGFrGgdz7hIScOURERAtEoAJ4hG/abhrv1h5yrFsw7ZzkspELDWwCg24iA
+n1mo7HT68Z2SAQabC1XBTCY=
+=LBtg
+-----END PGP SIGNATURE-----
index 35100e081dd1c25892ed6feae5405a603eac55b3..31bbf19e1807092ed643144141efad10b6ed0f2f 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-dev9null/ps2emu-dev9null-0.3.ebuild,v 1.1 2005/08/07 04:51:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-dev9null/ps2emu-dev9null-0.3.ebuild,v 1.2 2007/04/06 20:46:18 nyhm Exp $
 
 inherit games
 
@@ -13,15 +13,17 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
 
-RDEPEND="=x11-libs/gtk+-1*"
+RDEPEND="=x11-libs/gtk+-1.2*"
 DEPEND="${RDEPEND}
        app-arch/unrar"
 
 S=${WORKDIR}/dev9null${PV//.}
 
 src_unpack() {
-       unrar x -idq "${DISTDIR}"/${A} || die "unpacking failed"
-       sed -i 's:-O2 -fomit-frame-pointer:$(OPTFLAGS):' ${S}/src/Makefile
+       unpack ${A}
+       cd "${S}"
+       sed -i 's:-O2 -fomit-frame-pointer:$(OPTFLAGS):' src/Makefile \
+               || die "sed failed"
 }
 
 src_compile() {
@@ -31,7 +33,7 @@ src_compile() {
 
 src_install() {
        dodoc ReadMe.txt
-       exeinto "${GAMES_LIBDIR}"/ps2emu/plugins
+       exeinto "$(games_get_libdir)"/ps2emu/plugins
        newexe src/libDEV9null.so libDEV9null-${PV}.so || die
        prepgamesdirs
 }