void-packages/srcpkgs/soundtouch/template

34 lines
834 B
Bash

# Template file for 'soundtouch'
pkgname=soundtouch
version=2.3.1
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=6900996607258496ce126924a19fe9d598af9d892cf3f33d1e4daaa9b42ae0b1
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
}
}