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

# source: james
TARBALL=vamp-plugin-sdk-2.6.tar.gz
MD5SUM=200d6f5980d8d8877d296975a7e2890b
SRC_URL=https://code.soundsoftware.ac.uk/attachments/download/1520/$TARBALL
BUNDLE=

SLACKREQ='libsndfile' # 
SLACKDESC='libvamp: libvamp 2.6 (VAMP plugin SDK)
libvamp: 
libvamp: Vamp is an easy system to develop plugins for. It has a standard 
libvamp: cross-platform SDK which includes API documentation, example plugins, 
libvamp: ready-to-use C++ base classes, the C API header, and a test host.
libvamp: 
libvamp: http://www.vamp-plugins.org/develop.html
libvamp: 
libvamp: 
libvamp: 
libvamp: 
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/vamp*
	sed -i -e "/^INSTALL_SDK_LIBS/ s|/lib|/$LIBDIR|"  \
	       -e "/^INSTALL_PLUGINS/ s|/lib/|/$LIBDIR/|" \
	       -e "/^INSTALL_PKGCONFIG/ s|/lib/|/$LIBDIR/|" \
	       Makefile.in &&
	pkg_build_autoconf &&
	pkg_build_slackdesc
}
