NAME="ladspa-sdk" VERSION=1.17 RELEASE=1 CATEGORY="Audio" SUMMARY="Audio Developers Simple Plugin API" DESCRIPTION="The Linux Audio Developer's Simple Plugin API (LADSPA) attempts to give programmers the ability to write simple 'plugin' audio processors in C/C++ and link them dynamically against a range of host applications." HOMEPAGE="http://www.ladspa.org/" SRC_URI="http://www.ladspa.org/download/ladspa_sdk_${VERSION}.tgz" SRC_DIR="ladspa_sdk_${VERSION}" PATCH_URI=" 1.13-ctor-dtor.patch " src_compile() { lndirs cd ${B}/src cygmake targets \ CC="${CC}" \ CFLAGS="${CFLAGS} -I${S}/src" \ CXXFLAGS="${CXXFLAGS}" \ LD='$(CC) $(LDFLAGS)' \ LDFLAGS="-Wl,--enable-auto-image-base" } src_test() { cd ${B}/src cygtest } src_install() { cd ${B}/src cyginstall MKDIR_P="mkdir -p" doenv LADSPA_PATH "/usr/lib/ladspa" } DOCS="doc/COPYING doc/*.html"