2011-10-23 04:29:51 +00:00
|
|
|
# Template file for 'ladspa-sdk'
|
|
|
|
pkgname=ladspa-sdk
|
|
|
|
version=1.13
|
2014-06-08 09:52:36 +00:00
|
|
|
revision=4
|
2014-01-01 15:10:11 +00:00
|
|
|
noarch=yes
|
2013-04-13 08:15:49 +00:00
|
|
|
wrksrc=ladspa_sdk
|
|
|
|
makedepends="libsndfile-progs"
|
2011-10-23 04:29:51 +00:00
|
|
|
short_desc="Linux Audio Developer's Simple Plugin API (LADSPA)"
|
2014-06-08 09:52:36 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-23 04:29:51 +00:00
|
|
|
homepage="http://www.ladspa.org/"
|
|
|
|
license="LGPL-2.1"
|
2014-12-01 22:06:17 +00:00
|
|
|
update_pkgname=ladspa_sdk
|
|
|
|
distfiles="http://www.ladspa.org/download/ladspa_sdk.tgz"
|
2011-10-23 04:29:51 +00:00
|
|
|
checksum=b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b
|
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
do_build() {
|
2014-02-20 15:27:52 +00:00
|
|
|
make CC=$CC LD=$LD -C src
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
2011-10-23 04:29:51 +00:00
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
do_install() {
|
|
|
|
vmkdir usr/include
|
|
|
|
vcopy src/ladspa.h usr/include
|
|
|
|
}
|
2011-10-23 04:46:36 +00:00
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
ladspa-sdk-docs_package() {
|
|
|
|
depends="ladspa-sdk"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+="- Documentation"
|
2013-04-13 08:15:49 +00:00
|
|
|
noarch=yes
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
2011-10-23 04:29:51 +00:00
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
ladspa-sdk-example-plugins_package() {
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc=+" - Example plugins"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmkdir usr/lib/ladspa
|
|
|
|
vcopy "${wrksrc}/plugins/*.so*" usr/lib/ladspa
|
|
|
|
}
|
|
|
|
}
|
2011-10-23 04:29:51 +00:00
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
ladspa-sdk-progs_package() {
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - Example programs"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmkdir usr
|
|
|
|
vcopy ${wrksrc}/bin usr
|
|
|
|
}
|
2011-10-23 04:29:51 +00:00
|
|
|
}
|