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

# source: blfs svn 2018-05-29
TARBALL=alsa-plugins-$PKGVER.tar.bz2
MD5SUM=8387279e99feeb2ecffaac5f293223d7
SRC_URL=ftp://ftp.alsa-project.org/pub/plugins/$TARBALL
BUNDLE=

SLACKREQ=alsa-lib32
SLACKDESC="alsa-plugins32: alsa-plugins32 $PKGVER (Various audio plugins for ALSA)  
alsa-plugins32:  
alsa-plugins32: The ALSA Plugins package contains plugins for various audio 
alsa-plugins32: libraries and sound servers.  
alsa-plugins32: 
alsa-plugins32: This contains 32-bit plugins
alsa-plugins32: 
alsa-plugins32: 
alsa-plugins32: 
alsa-plugins32: 
alsa-plugins32:
"
SLACKSUG='libjack2_32 libspeex32 libsamplerate32'

### 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/alsa-plugins*
	# fix for speex build problem
	# sed -i "/speex_preprocess.h/i#include <stdint.h>" speex/pcm_speex.c &&
	pkg_build_autoconf && 
	pkg_build_slackdesc
}
