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

pkgname=portaudio
pkgver=v19
pkgrel=1dj
source=(http://portaudio.com/archives/pa_stable_v19_20111121.tgz)
sourcetemplate=http://people.salixos.org/djemos/salix/$pkgname
docs=("README.txt" "LICENSE.txt" "V19-devel-readme.txt")
url=http://www.portaudio.com

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (Portable cross-platform Audio API)"
"$pkgname is a free, cross platform, open-source, audio I/O"
"library.  It lets you write simple audio programs in 'C'"
"that will compile and run on many platforms including Windows,"
"Macintosh (8,9,X), Unix (OSS), SGI, and BeOS. PortAudio is"
"intended to promote the exchange of audio synthesis software"
"between developers on different platforms."
)


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