### this file is sourced not run
PKGVER=14.4.2
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=sox-$PKGVER.tar.bz2
MD5SUM=ba804bb1ce5c71dd484a102a5b27d0dd
SRC_URL=http://downloads.sourceforge.net/sox/$TARBALL
BUNDLE=

SLACKREQ='libmad lame twolame libvorbis libogg libflac libopencore-amr \
libsndfile alsa-lib ' # libgsm build-time only
SLACKDESC="sox: sox $PKGVER (Audio file converter)  
sox:  
sox: SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line 
sox: utility that can convert various formats of computer audio files in to 
sox: other formats. It can also apply various effects to these sound files, 
sox: and, as an added bonus, SoX can play and record audio files on most 
sox: platforms.  
sox: 
sox: http://sox.sourceforge.net/
sox: 
sox: 
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cp tmp/pkg/ladspa.h usr/include
}

### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --with-distro=Fatdog64 --disable-static"
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	rm -f /usr/include/ladspa.h
}


