# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emulation/psemu-peopsspu/psemu-peopsspu-1.0.1.ebuild,v 1.8 2002/11/27 00:49:54 vapier Exp $ DESCRIPTION="P.E.Op.S Sound Emulation (SPU) PSEmu Plugin" HOMEPAGE="http://peops.sourceforge.net/" SRC_URI="mirror://sourceforge/peops/PeopsSpu${PV//./}.zip" LICENSE="GPL-2" KEYWORDS="x86 -ppc" SLOT="0" DEPEND="app-arch/unzip app-misc/fixdos x11-libs/gtk+ sys-devel/automake" S=${WORKDIR}/spuPeopsSound src_compile() { cd Src mv StdAfx.c stdafx.c mv StdAfx.h stdafx.h mv OSS.H oss.h emake CCFLAGS3="${CFLAGS} -fPIC -c -Wall -ffast-math -fomit-frame-pointer" || die cd linuxcfg tar xvfz spucfg.tar.gz crlf . # convert all files in dir from dos CRLF to unix CR format... make distclean automake --add-missing econf emake || die mv src/spucfg src/cfgPeopsOSS } src_install () { insinto /usr/lib/psemu/plugins doins Src/libspu* chmod 755 ${D}/usr/lib/psemu/plugins/* insinto /usr/lib/psemu/cfg doins Src/linuxcfg/src/cfgPeopsOSS chmod 755 ${D}/usr/lib/psemu/cfg/* dodoc Src/*.txt *.txt }