diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2007-04-06 18:56:48 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2007-04-06 18:56:48 +0000 |
commit | 00a65e93ae621a67081a4df5a1c13331eb6886e8 (patch) | |
tree | fe5cdb6e35b94cecb8df75b411a1dc2a8e29cc54 /games-emulation/ps2emu-cddvdlinuz | |
parent | Mark 0.4.3-r2 stable on amd64 and x86 as it is identical to -r1 and makes sur... (diff) | |
download | gentoo-2-00a65e93ae621a67081a4df5a1c13331eb6886e8.tar.gz gentoo-2-00a65e93ae621a67081a4df5a1c13331eb6886e8.tar.bz2 gentoo-2-00a65e93ae621a67081a4df5a1c13331eb6886e8.zip |
use games_get_libdir
(Portage version: 2.1.2.3)
Diffstat (limited to 'games-emulation/ps2emu-cddvdlinuz')
-rw-r--r-- | games-emulation/ps2emu-cddvdlinuz/ps2emu-cddvdlinuz-0.3-r1.ebuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/games-emulation/ps2emu-cddvdlinuz/ps2emu-cddvdlinuz-0.3-r1.ebuild b/games-emulation/ps2emu-cddvdlinuz/ps2emu-cddvdlinuz-0.3-r1.ebuild index 131e056d8c04..63a26f608540 100644 --- a/games-emulation/ps2emu-cddvdlinuz/ps2emu-cddvdlinuz-0.3-r1.ebuild +++ b/games-emulation/ps2emu-cddvdlinuz/ps2emu-cddvdlinuz-0.3-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 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-cddvdlinuz/ps2emu-cddvdlinuz-0.3-r1.ebuild,v 1.6 2004/11/03 00:16:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-cddvdlinuz/ps2emu-cddvdlinuz-0.3-r1.ebuild,v 1.7 2007/04/06 18:56:48 nyhm Exp $ inherit games @@ -17,12 +17,13 @@ RDEPEND="=x11-libs/gtk+-1*" DEPEND="${RDEPEND} app-arch/unzip" -S="${WORKDIR}/CDVDlinuz" +S=${WORKDIR}/CDVDlinuz src_unpack() { unpack ${A} + cd "${S}" sed -i \ - -e 's:-O2 -fomit-frame-pointer:$(OPTFLAGS):' ${S}/Src/Makefile \ + -e 's:-O2 -fomit-frame-pointer:$(OPTFLAGS):' Src/Makefile \ || die "sed failed" } @@ -33,7 +34,7 @@ src_compile() { src_install() { dodoc ReadMe.txt - exeinto ${GAMES_LIBDIR}/ps2emu/plugins - newexe Src/libCDVDlinuz.so libCDVDlinuz-${PV}.so + exeinto "$(games_get_libdir)"/ps2emu/plugins + newexe Src/libCDVDlinuz.so libCDVDlinuz-${PV}.so || die "newexe failed" prepgamesdirs } |