diff options
Diffstat (limited to 'media-sound/audiocompress')
-rw-r--r-- | media-sound/audiocompress/audiocompress-1.3.ebuild | 26 | ||||
-rw-r--r-- | media-sound/audiocompress/audiocompress-1.5.ebuild | 26 |
2 files changed, 24 insertions, 28 deletions
diff --git a/media-sound/audiocompress/audiocompress-1.3.ebuild b/media-sound/audiocompress/audiocompress-1.3.ebuild index 2ad69ec2a1d7..a72ee0db4f07 100644 --- a/media-sound/audiocompress/audiocompress-1.3.ebuild +++ b/media-sound/audiocompress/audiocompress-1.3.ebuild @@ -1,37 +1,35 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/audiocompress/audiocompress-1.3.ebuild,v 1.3 2003/07/12 20:30:47 aliz Exp $ +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/audiocompress/audiocompress-1.3.ebuild,v 1.4 2003/08/07 04:09:25 vapier Exp $ MY_P="AudioCompress-${PV}" DESCRIPTION="AudioCompress is (essentially) a very gentle, 1-band dynamic range compressor intended to keep audio output at a consistent volume without introducing any audible artifacts." -SRC_URI="http://trikuare.cx/code/${MY_P}.tar.gz" HOMEPAGE="http://trikuare.cx/code/AudioCompress.html" -IUSE="xmms" - -S=${WORKDIR}/${MY_P} +SRC_URI="http://trikuare.cx/code/${MY_P}.tar.gz" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="x86" +IUSE="xmms" DEPEND="xmms? ( media-sound/xmms )" +S=${WORKDIR}/${MY_P} + src_compile() { if [ -n "`use xmms`" ]; then - emake || die + emake || die else - emake AudioCompress + emake AudioCompress || die fi } src_install() { - dodir /usr/bin - install -m 755 AudioCompress ${D}/usr/bin/ || die + dobin AudioCompress || die if [ -n "`use xmms`" ]; then - installdir="${D}$(xmms-config --effect-plugin-dir)" - install -d ${installdir} || die - install -m 755 libcompress.so ${installdir} || die + exeinto "$(xmms-config --effect-plugin-dir)" || die + doexe libcompress.so || die fi dodoc COPYING ChangeLog README TODO } diff --git a/media-sound/audiocompress/audiocompress-1.5.ebuild b/media-sound/audiocompress/audiocompress-1.5.ebuild index b93ceb43719f..a9b6248f2032 100644 --- a/media-sound/audiocompress/audiocompress-1.5.ebuild +++ b/media-sound/audiocompress/audiocompress-1.5.ebuild @@ -1,37 +1,35 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/audiocompress/audiocompress-1.5.ebuild,v 1.1 2003/08/06 10:58:24 jje Exp $ +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/audiocompress/audiocompress-1.5.ebuild,v 1.2 2003/08/07 04:09:25 vapier Exp $ MY_P="AudioCompress-${PV}" DESCRIPTION="AudioCompress is (essentially) a very gentle, 1-band dynamic range compressor intended to keep audio output at a consistent volume without introducing any audible artifacts." -SRC_URI="http://trikuare.cx/code/${MY_P}.tar.gz" HOMEPAGE="http://trikuare.cx/code/AudioCompress.html" -IUSE="xmms" - -S=${WORKDIR}/${MY_P} +SRC_URI="http://trikuare.cx/code/${MY_P}.tar.gz" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="~x86" +IUSE="xmms" DEPEND="xmms? ( media-sound/xmms )" +S=${WORKDIR}/${MY_P} + src_compile() { if [ -n "`use xmms`" ]; then - emake || die + emake || die else - emake AudioCompress + emake AudioCompress || die fi } src_install() { - dodir /usr/bin - install -m 755 AudioCompress ${D}/usr/bin/ || die + dobin AudioCompress || die if [ -n "`use xmms`" ]; then - installdir="${D}$(xmms-config --effect-plugin-dir)" - install -d ${installdir} || die - install -m 755 libcompress.so ${installdir} || die + exeinto "$(xmms-config --effect-plugin-dir)" || die + doexe libcompress.so || die fi dodoc COPYING ChangeLog README TODO } |