#Maintainer: Thorsten Muehlfelder <thenktor(at)gmx.de>

pkgname=aubio
pkgver=0.3.2
pkgrel=2tm
source=("http://aubio.org/pub/$pkgname-$pkgver.tar.gz")
docs=('authors' 'copying' 'changelog' 'install' 'news' 'readme')
url="http://aubio.org/"

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname - A library for audio labelling"
"aubio is a library for audio labelling. Its features"
"include segmenting a sound file before each of its attacks,"
"performing pitch detection, tapping the beat and producing"
"midi streams from live audio. The name aubio comes from"
"'audio' with a typo: several transcription errors are"
"likely to be found in the results too."
)

build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static
	make -j $numjobs || return 1
	make DESTDIR=$startdir/pkg install
}