diff options
Diffstat (limited to 'media-sound/wavegain/wavegain-1.2.6-r1.ebuild')
-rw-r--r-- | media-sound/wavegain/wavegain-1.2.6-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/media-sound/wavegain/wavegain-1.2.6-r1.ebuild b/media-sound/wavegain/wavegain-1.2.6-r1.ebuild new file mode 100644 index 000000000000..d97f37b1a8a8 --- /dev/null +++ b/media-sound/wavegain/wavegain-1.2.6-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/wavegain/wavegain-1.2.6-r1.ebuild,v 1.1 2007/04/17 19:13:31 chainsaw Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="ReplayGain for WAVE audio files" +HOMEPAGE="http://www.rarewares.org/files/others" +SRC_URI="http://www.rarewares.org/files/others/${P}srcs.zip" +MY_P="${P/wavegain/WaveGain}" +S="${WORKDIR}/${MY_P}" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc64" +IUSE="" +RDEPEND="media-libs/libsndfile" +DEPEND="app-arch/unzip" + +src_unpack(){ + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-faulty-includes.patch +} + +src_compile(){ + $(tc-getCC) ${CFLAGS} *.c -o wavegain -DHAVE_CONFIG_H -lm -lsndfile || die "Compilation failed" +} + +src_install(){ + dobin wavegain +} |