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

pkgname=soundtouch
pkgver=1.7.1
pkgrel=1gv
source=("http://www.surina.net/soundtouch/soundtouch-$pkgver.tar.gz")
docs=("readme.html" "copying.txt" "configure-file-README.txt")
url=http://www.surina.net/soundtouch/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"soundtouch (sound processing library)"
"SoundTouch is an open-source audio processing library for changing the"
"tempo, Pitch and Playback Rates of audio streams or files."
)


build() {
	cd $startdir/src/$pkgname
	
	./bootstrap

	./configure --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--disable-static \
		--enable-shared \
		--build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
	rm -rf $startdir/pkg/usr/doc/soundtouch
}