void-packages/srcpkgs/vamp-plugin-sdk/template
2014-10-31 15:35:04 +01:00

36 lines
925 B
Text

# Template file for 'vamp-plugin-sdk'
pkgname=vamp-plugin-sdk
version=2.2
revision=6
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libsndfile-devel"
short_desc="The Vamp audio analysis plugin system"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.vamp-plugins.org/"
distfiles="${SOURCEFORGE_SITE}/vamp/${pkgname}-${version}.tar.gz"
checksum=601d9d9f859b3232afda63ca099e51d81202556bbb0ee275a9aab14bf3d6c766
nocross=yes
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
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
}
}