summaryrefslogblamecommitdiff
path: root/user/vamp-sdk/APKBUILD
blob: b97a8c2df26521222d70ad34adf8267ac3a3ac8c (plain) (tree)































                                                                                                                                                                           
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=vamp-sdk
pkgver=2.7.1
pkgrel=0
pkgdesc="SDK for developing Vamp audio analysis plugins"
url="https://vamp-plugins.org/develop.html"
arch="all"
options="!check" # no tests
license="BSD-3-Clause AND MIT"
makedepends="libsndfile-dev"
subpackages="$pkgname-dev"
source="https://code.soundsoftware.ac.uk/attachments/download/2206/vamp-plugin-sdk-$pkgver.tar.gz"
sha512sums="91dd7cae72334718dcbdac06b1ffa3f3ba76e977b82b928ab634d9982aa15ca4e30978a7778215753c61e56831077d7634d24e65e468ab6a8a87a5957fb09bf3  vamp-plugin-sdk-2.7.1.tar.gz"
builddir="$srcdir/vamp-plugin-sdk-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}