# Description: Normalize mp3 and wav files.
# URL: http://normalize.nongnu.org/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: lame libmad

name=normalize
version=0.7.7
release=2
source=(https://download.savannah.gnu.org/releases/$name/$name-$version.tar.bz2)

build() {
	cd $name-$version

	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--disable-nls \
		--with-audiofile=no

	make
	make DESTDIR=$PKG install
	# Don't make and or use this for oggs. Use vorbisgain.
	rm $PKG/usr/bin/normalize-ogg
}
