#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=musepack-tools
pkgver=r435
pkgrel=1gv
source=(http://files.musepack.net/source/musepack_src\_$pkgver.tar.gz)
url=http://www.musepack.net

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"musepack-tools (Musepack SV8 command line tools and libraries)"
"This package includes the Musepack Stream Version 8 command line tools"
"and decoding libraries. Version SV8 supercedes SV7 and is preferable"
"for any task."
)


build() {
	cd $startdir/src/musepack_src\_$pkgver
	autoreconf -vif
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg

	# We don't really need the static library
	rm $startdir/pkg/usr/lib${LIBDIRSUFFIX}/libmpcdec.a
}