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

# source: post BLFS 7.8 2015-12-28
TARBALL=libsndfile-$PKGVER.tar.gz
MD5SUM=ec810a0c60c08772a8a5552704b63393
SRC_URL=http://www.mega-nerd.com/libsndfile/files/$TARBALL
BUNDLE=

SLACKREQ='alsa-lib32 libflac32 libogg32 libvorbis32'
SLACKDESC="libsndfile32: libsndfile32 $PKGVER (Audio file read/write library)  
libsndfile32:  
libsndfile32: Libsndfile is a library of C routines for reading and writing 
libsndfile32: files containing sampled audio data. It support many popular audio 
libsndfile32: file formats.  
libsndfile32: 
libsndfile32: This is 32-bit version of the library
libsndfile32: 
libsndfile32: 
libsndfile32: 
libsndfile32:
"

### 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() {
	CONFFLAGS="$CONFFLAGS --disable-static --docdir=/usr/share/doc/libsndfile-$PKGVER"
	pkg_build_autoconf && 
	pkg_build_slackdesc
}
