void-packages/srcpkgs/aubio/template

36 lines
886 B
Bash
Raw Normal View History

2011-10-23 15:40:55 +02:00
# Template file for 'aubio'
pkgname=aubio
2016-08-18 11:37:42 +02:00
version=0.4.3
2014-11-23 11:25:00 +01:00
revision=1
build_style=waf
# XXX lash, pure and swig support.
2014-11-23 11:25:00 +01:00
hostmakedepends="python pkg-config"
makedepends="libsamplerate-devel fftw-devel jack-devel"
2011-10-23 15:40:55 +02:00
short_desc="A library for audio labelling"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2011-10-23 15:40:55 +02:00
license="GPL-2"
homepage="http://aubio.org"
2014-11-23 11:25:00 +01:00
distfiles="${homepage}/pub/${pkgname}-${version}.tar.bz2"
2016-08-18 11:37:42 +02:00
checksum=b62cdb073c0c64ae301917fa162969d42cba45e478bdf1e74490bd87e9cceaab
2014-11-23 11:25:00 +01:00
pre_configure() {
# disable tests to allow cross builds
sed -i '/bld.recurse.*tests.*/d' wscript
}
libaubio_package() {
2014-02-18 13:21:41 +01:00
short_desc+=" - Runtime libraries"
pkg_install() {
2014-02-18 13:21:41 +01:00
vmove "usr/lib/*.so.*"
}
}
aubio-devel_package() {
depends="libaubio-${version}_${revision}"
2014-02-18 13:21:41 +01:00
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-11-23 11:25:00 +01:00
vmove usr/lib/*.so
}
}