summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-04-09 15:51:25 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-04-09 15:51:25 +0000
commit7509205c20e655a2d5e4dfc61b72ded968dc7f6d (patch)
tree03c3882d4b568d76d26bb05beb68f4ea6ae81c13 /games-emulation/ps2emu-padxwin
parentuse games_get_libdir (diff)
downloadgentoo-2-7509205c20e655a2d5e4dfc61b72ded968dc7f6d.tar.gz
gentoo-2-7509205c20e655a2d5e4dfc61b72ded968dc7f6d.tar.bz2
gentoo-2-7509205c20e655a2d5e4dfc61b72ded968dc7f6d.zip
use games_get_libdir
(Portage version: 2.1.2.3)
Diffstat (limited to 'games-emulation/ps2emu-padxwin')
-rw-r--r--games-emulation/ps2emu-padxwin/ps2emu-padxwin-0.9.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/games-emulation/ps2emu-padxwin/ps2emu-padxwin-0.9.ebuild b/games-emulation/ps2emu-padxwin/ps2emu-padxwin-0.9.ebuild
index faa6abf0cf9e..0c11dc49c37c 100644
--- a/games-emulation/ps2emu-padxwin/ps2emu-padxwin-0.9.ebuild
+++ b/games-emulation/ps2emu-padxwin/ps2emu-padxwin-0.9.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-padxwin/ps2emu-padxwin-0.9.ebuild,v 1.4 2006/05/03 18:07:22 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-padxwin/ps2emu-padxwin-0.9.ebuild,v 1.5 2007/04/09 15:51:25 nyhm Exp $
inherit eutils games
@@ -20,7 +20,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/PADwin${PV//.}
src_unpack() {
- unrar x -idq "${DISTDIR}"/${A} || die
+ unpack ${A}
cd "${S}"
sed -i 's:-O2 -fomit-frame-pointer:$(OPTFLAGS):' Src/Makefile || die
epatch "${FILESDIR}/${P}"-gcc41.patch
@@ -33,7 +33,7 @@ src_compile() {
src_install() {
dodoc ReadMe.txt
- exeinto "${GAMES_LIBDIR}"/ps2emu/plugins
+ exeinto "$(games_get_libdir)"/ps2emu/plugins
newexe Src/libPADwin.so libPADxwin-${PV}.so || die
prepgamesdirs
}