52 lines
1.1 KiB
Bash
52 lines
1.1 KiB
Bash
# Template file for 'ladspa-sdk'
|
|
pkgname=ladspa-sdk
|
|
version=1.15
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="ladspa_sdk_${version}"
|
|
makedepends="libsndfile-progs"
|
|
short_desc="Linux Audio Developer's Simple Plugin API (LADSPA)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://www.ladspa.org/"
|
|
distfiles="http://www.ladspa.org/download/ladspa_sdk_${version}.tgz"
|
|
checksum=4229959b09d20c88c8c86f4aa76427843011705df22d9c28b38359fd1829fded
|
|
|
|
do_build() {
|
|
make CC=$CC CPP=$CXX LD=$LD -C src
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir usr/include
|
|
vcopy src/ladspa.h usr/include
|
|
}
|
|
|
|
ladspa-sdk-doc_package() {
|
|
depends="ladspa-sdk"
|
|
short_desc+="- Documentation"
|
|
archs=noarch
|
|
pkg_install() {
|
|
vmkdir usr/share/doc
|
|
cd ${wrksrc}/doc
|
|
rm ladspa.h.txt
|
|
ln -s /usr/include/ladspa.h ladspa.h.txt
|
|
vcopy ${wrksrc}/doc usr/share/doc/ladspa
|
|
}
|
|
}
|
|
|
|
ladspa-sdk-example-plugins_package() {
|
|
short_desc+=" - Example plugins"
|
|
pkg_install() {
|
|
vmkdir usr/lib/ladspa
|
|
vcopy "${wrksrc}/plugins/*.so*" usr/lib/ladspa
|
|
}
|
|
}
|
|
|
|
ladspa-sdk-progs_package() {
|
|
short_desc+=" - Example programs"
|
|
pkg_install() {
|
|
vmkdir usr
|
|
vcopy ${wrksrc}/bin usr
|
|
}
|
|
}
|