void-packages/srcpkgs/aubio/template

32 lines
803 B
Bash

# Template file for 'aubio'
pkgname=aubio
version=0.4.7
revision=1
build_style=waf
# XXX lash, pure and swig support.
hostmakedepends="python pkg-config txt2man"
makedepends="libsamplerate-devel fftw-devel jack-devel ffmpeg-devel"
short_desc="A library for audio labelling"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="http://aubio.org"
distfiles="${homepage}/pub/${pkgname}-${version}.tar.bz2"
checksum=cbed4afec5ab3a1a6300c7e3af0a1369379aa94259f5e701a8ca905cdd9fa041
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
}
}