summaryrefslogtreecommitdiff
blob: 616e5dc72030f491995b285484d03ef22fd86fd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/normalize/normalize-0.7.6-r2.ebuild,v 1.3 2004/05/04 02:10:14 eradicator Exp $

DESCRIPTION="Audio file volume normalizer"
HOMEPAGE="http://www.cs.columbia.edu/~cvaill/normalize"
SRC_URI="http://www1.cs.columbia.edu/~cvaill/normalize/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc sparc amd64"
IUSE="xmms mad audiofile"

DEPEND="xmms? ( >=media-sound/xmms-1.2.7-r6 )
	mad? ( >=media-sound/madplay-0.14.2b )
	audiofile? ( >=media-libs/audiofile-0.2.3-r1 )"

src_compile() {
	econf `use_with mad` \
	      `use_enable xmms` \
	      `use_with audiofile` \
	      ${myconf} || die

	emake || die "emake failed"
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc NEWS README THANKS TODO
}