# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit toolchain-funcs DESCRIPTION="Adjusts the gain of .wav audio files using the ReplayGain algorithm" HOMEPAGE="http://foo.bar.com/" SRC_URI="http://www.rarewares.org/files/others/${P}srcs.zip" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND="media-libs/libsndfile" DEPEND="${RDEPEND} app-arch/unzip" S=${WORKDIR} src_unpack() { unpack ${A} cd ${S} sed -i -e "s:#include ::" audio.c } src_compile() { $(tc-getCC) ${CFLAGS} *.c -o wavegain -lm -lsndfile } src_install() { dobin ${S}/wavegain }