-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
40 lines (36 loc) · 1.05 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Template file for 'vamp-plugin-sdk'
pkgname=vamp-plugin-sdk
version=2.10.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libsndfile-devel"
short_desc="Vamp audio analysis plugin system"
maintainer="John <me@johnnynator.dev>"
license="MIT"
homepage="https://www.vamp-plugins.org/"
distfiles="https://code.soundsoftware.ac.uk/attachments/download/2691/${pkgname}-${version}.tar.gz"
checksum=aeaf3762a44b148cebb10cde82f577317ffc9df2720e5445c3df85f3739ff75f
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
}
}