void-packages/srcpkgs/soundtouch/template

34 lines
834 B
Bash

# Template file for 'soundtouch'
pkgname=soundtouch
version=2.3.2
revision=1
build_style=gnu-configure
configure_args="--enable-openmp"
hostmakedepends="libtool automake pkg-config"
makedepends="libgomp-devel"
short_desc="SoundTouch Audio Processing Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-only"
homepage="https://www.surina.net/soundtouch"
distfiles="https://www.surina.net/soundtouch/soundtouch-${version}.tar.gz"
checksum=3bde8ddbbc3661f04e151f72cf21ca9d8f8c88e265833b65935b8962d12d6b08
pre_configure() {
./bootstrap
}
post_install() {
rm -rf ${DESTDIR}/usr/doc
}
soundtouch-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/aclocal
}
}