40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'vamp-plugin-sdk'
|
|
pkgname=vamp-plugin-sdk
|
|
version=2.6
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libsndfile-devel"
|
|
short_desc="The Vamp audio analysis plugin system"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="BSD"
|
|
homepage="http://www.vamp-plugins.org/"
|
|
distfiles="https://code.soundsoftware.ac.uk/attachments/download/1520/${pkgname}-${version}.tar.gz"
|
|
checksum=d0d3578137ac0c1e63f31561081a8d61da526a81152bc1dc9383b629bc07f85f
|
|
|
|
post_extract() {
|
|
# don't run test target by default, fixes cross build.
|
|
sed -i 's/TARGETS="sdk plugins host rdfgen test"/TARGETS="sdk plugins host rdfgen"/' configure
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING LICENSE
|
|
}
|
|
|
|
libvamp-plugin-sdk_package() {
|
|
short_desc+=" - Runtime libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
vamp-plugin-sdk-devel_package() {
|
|
depends="libsndfile-devel libvamp-plugin-sdk>=${version}_${revision}"
|
|
short_desc+=" - Development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|