void-packages/srcpkgs/rubberband/template

33 lines
978 B
Bash

# Template file for 'rubberband'
pkgname=rubberband
version=1.8.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="ladspa-sdk libsamplerate-devel vamp-plugin-sdk-devel fftw-devel"
depends="libvamp-plugin-sdk"
short_desc="Time-stretching and pitch-shifting audio library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.breakfastquay.com/rubberband/"
distfiles="http://code.breakfastquay.com/attachments/download/16/${pkgname}-${version}.tar.bz2"
checksum=ff0c63b0b5ce41f937a8a3bc560f27918c5fe0b90c6bc1cb70829b86ada82b75
librubberband_package() {
short_desc+=" - Runtime libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
vmove usr/lib/vamp
vmove usr/lib/ladspa
}
}
rubberband-devel_package() {
depends="librubberband>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}