summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-04-09 15:54:33 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-04-09 15:54:33 +0000
commitd5e99968b7aa37bcde39eec3a520aa7295e2df1c (patch)
tree2456dec913277559868b70f65a7006c239b4fb53 /games-emulation
parentuse games_get_libdir (diff)
downloadgentoo-2-d5e99968b7aa37bcde39eec3a520aa7295e2df1c.tar.gz
gentoo-2-d5e99968b7aa37bcde39eec3a520aa7295e2df1c.tar.bz2
gentoo-2-d5e99968b7aa37bcde39eec3a520aa7295e2df1c.zip
use games_get_libdir
(Portage version: 2.1.2.3)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/ps2emu-usbnull/ps2emu-usbnull-0.4.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/games-emulation/ps2emu-usbnull/ps2emu-usbnull-0.4.ebuild b/games-emulation/ps2emu-usbnull/ps2emu-usbnull-0.4.ebuild
index 25caa50a7429..985cff378ce0 100644
--- a/games-emulation/ps2emu-usbnull/ps2emu-usbnull-0.4.ebuild
+++ b/games-emulation/ps2emu-usbnull/ps2emu-usbnull-0.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 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-usbnull/ps2emu-usbnull-0.4.ebuild,v 1.3 2006/09/26 18:43:45 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-usbnull/ps2emu-usbnull-0.4.ebuild,v 1.4 2007/04/09 15:54:33 nyhm Exp $
inherit games
@@ -20,7 +20,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/USBnull${PV//.}
src_unpack() {
- unrar x -idq "${DISTDIR}"/${A} || die
+ unpack ${A}
cd "${S}"
sed -i \
-e 's:-O3 -fomit-frame-pointer:$(OPTFLAGS):' \
@@ -35,9 +35,9 @@ src_compile() {
src_install() {
dodoc ReadMe.txt
- exeinto "${GAMES_LIBDIR}"/ps2emu/plugins
+ exeinto "$(games_get_libdir)"/ps2emu/plugins
newexe Linux/libUSBnull.so libUSBnull-${PV//.}.so || die
- exeinto "${GAMES_LIBDIR}"/ps2emu/cfg
+ exeinto "$(games_get_libdir)"/ps2emu/cfg
doexe Linux/cfgUSBnull || die
prepgamesdirs
}