#Packager: George Vlahavas pkgname=ladspa pkgver=1.17 pkgrel=1gv source=("http://www.ladspa.org/download/ladspa_sdk_$pkgver.tgz" "fix-memleak-in-plugin-scanning.patch") docs=("copying" "*.html") url=http://www.ladspa.org slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "ladspa (Linux Audio Developer's Simple Plugin API)" "LADSPA is a standard that allows software audio processors and effects" "to be plugged into a wide range of audio synthesis and recording" "packages." ) build() { cd $startdir/src/ladspa_sdk_$pkgver patch -p0 < $startdir/src/fix-memleak-in-plugin-scanning.patch || exit 1 sed -e "s#-O2#${CFLAGS} ${LDFLAGS}#" -i src/Makefile cd src make targets make INSTALL_PLUGINS_DIR="$startdir/pkg/usr/lib${LIBDIRSUFFIX}/ladspa/" \ INSTALL_INCLUDE_DIR="$startdir/pkg/usr/include/" \ INSTALL_BINARY_DIR="$startdir/pkg/usr/bin/" install }