# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/normalize/normalize-0.7.7.ebuild,v 1.6 2007/07/12 14:05:16 gustavoz Exp $ DESCRIPTION="Audio file volume normalizer" HOMEPAGE="http://normalize.nongnu.org/" SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc ~ppc64 sparc x86 ~x86-fbsd" IUSE="mad audiofile nls userland_BSD" RDEPEND="mad? ( media-libs/libmad ) audiofile? ( >=media-libs/audiofile-0.2.3-r1 )" DEPEND="${RDEPEND} nls? ( dev-util/intltool )" src_unpack() { unpack ${A} use userland_BSD && sed -i -e 's/md5sum/md5/' "${S}"/test/*.sh } src_compile() { econf \ $(use_enable nls) \ $(use_with mad) \ --disable-xmms \ $(use_with audiofile) \ || die emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die dodoc NEWS README THANKS TODO }