diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-29 22:41:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-29 22:41:08 +0000 |
commit | cfa1f79b2841657c3674f7e5a747b94d2c5f6771 (patch) | |
tree | e5542f04a35274de4ee4dc736b74acc471b2bc37 /games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r2.ebuild | |
parent | Fix installation paths, closing bug #39757 and #39758. (diff) | |
download | gentoo-2-cfa1f79b2841657c3674f7e5a747b94d2c5f6771.tar.gz gentoo-2-cfa1f79b2841657c3674f7e5a747b94d2c5f6771.tar.bz2 gentoo-2-cfa1f79b2841657c3674f7e5a747b94d2c5f6771.zip |
fix install #39766
Diffstat (limited to 'games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r2.ebuild')
-rw-r--r-- | games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r2.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r2.ebuild b/games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r2.ebuild new file mode 100644 index 000000000000..db7bd12d0e7a --- /dev/null +++ b/games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r2.ebuild,v 1.1 2004/01/29 22:41:08 vapier Exp $ + +inherit games eutils + +DESCRIPTION="P.E.Op.S Sound Emulation (SPU) PSEmu Plugin" +HOMEPAGE="http://sourceforge.net/projects/peops/" +SRC_URI="mirror://sourceforge/peops/PeopsSpu${PV//./}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="alsa oss" + +DEPEND="alsa? ( media-libs/alsa-lib ) + app-arch/unzip + =x11-libs/gtk+-1* + sys-devel/automake" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + + cd src/linuxcfg + tar -zxf spucfg.tar.gz + ( emake distclean && automake --add-missing ) || die "could not clean up" + edos2unix `find -name '*.in' -o -name '*.am' -o -name '*.[ch]' -o -name 'config*'` +} + +src_compile() { + cd src + sed -i -e "s/-mpentium//" -e "/^CCFLAGS3/s:=:= ${CFLAGS} :" Makefile + if [ `use oss` ] || [ -z "`use oss``use alsa`" ] ; then + emake clean || die + emake USEALSA=FALSE || die + mv libspu* .. + fi + if [ `use alsa` ] ; then + emake clean || die + emake USEALSA=TRUE || die + mv libspu* .. + fi + + cd linuxcfg + econf || die + emake || die + mv src/spucfg src/cfgPeopsOSS +} + +src_install() { + exeinto ${GAMES_LIBDIR}/psemu/plugins + doexe libspu* + exeinto ${GAMES_LIBDIR}/psemu/cfg + doexe cfgPeopsOSS + insinto ${GAMES_LIBDIR}/psemu/cfg + doins spuPeopsOSS.cfg + dodoc src/*.txt *.txt + prepgamesdirs +} |