### this file is sourced not run
PKGVER=19.2016.10.30
PKGBUILD=1
PKGARCH=i686

# source: james
TARBALL=pa_stable_v190600_20161030.tgz
MD5SUM=4df8224e047529ca9ad42f0521bf81a8
SRC_URL=http://www.portaudio.com/archives/$TARBALL
BUNDLE=

SLACKREQ='alsa-lib32 libjack2_32'
SLACKDESC="libportaudio32: libportaudio32 $PKGVER (Cross-platform Audio library)  
libportaudio32:  
libportaudio32: PortAudio is a free, cross-platform, open-source, audio I/O 
libportaudio32: library. It lets you write simple audio programs in 'C' or C++ 
libportaudio32: that will compile and run on many platforms including Windows, 
libportaudio32: Macintosh OS X, and Unix (OSS/ALSA). It is intended to promote 
libportaudio32: the exchange of audio software between developers on different 
libportaudio32: platforms. Many applications use PortAudio for Audio I/O.  
libportaudio32: 
libportaudio32: This contains 32-bit version of the library.
libportaudio32: 
"

### default pkg_download
### default pkg_prepare
### package - only collect the libraries
pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share
}

### build
pkg_build() {
	cd /tmp/portaudio*
	./configure $CONFFLAGS --disable-static --enable-cxx &&
	{ make $MAKEFLAGS || make; } && make install &&
	pkg_build_slackdesc
}


