36 lines
886 B
Bash
36 lines
886 B
Bash
# Template file for 'aubio'
|
|
pkgname=aubio
|
|
version=0.4.5
|
|
revision=1
|
|
build_style=waf
|
|
# XXX lash, pure and swig support.
|
|
hostmakedepends="python pkg-config"
|
|
makedepends="libsamplerate-devel fftw-devel jack-devel"
|
|
short_desc="A library for audio labelling"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://aubio.org"
|
|
distfiles="${homepage}/pub/${pkgname}-${version}.tar.bz2"
|
|
checksum=70c2804e6f4fbf0ebc0fb9ac8cc9d465ef4a4d438311c074c9a7364e98827af6
|
|
|
|
pre_configure() {
|
|
# disable tests to allow cross builds
|
|
sed -i '/bld.recurse.*tests.*/d' wscript
|
|
}
|
|
|
|
libaubio_package() {
|
|
short_desc+=" - Runtime libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
aubio-devel_package() {
|
|
depends="libaubio-${version}_${revision}"
|
|
short_desc+=" - Development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|