# Template file for 'aubio'
pkgname=aubio
version=0.3.2
revision=7
build_style=gnu-configure
configure_args="--disable-static"
# XXX lash, pure and swig support.
hostmakedepends="pkg-config"
makedepends="libsamplerate-devel fftw-devel jack-devel"
short_desc="A library for audio labelling"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://aubio.org"
distfiles="${homepage}/pub/${pkgname}-${version}.tar.gz"
checksum=dc1387b048610a6141f523c27314b7a60bd299c3d6789c372445ddc6511512cd

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"
	}
}
