void-packages/srcpkgs/soundtouch/template

33 lines
862 B
Bash

# Template file for 'soundtouch'
pkgname=soundtouch
version=2.1.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="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-only"
homepage="https://www.surina.net/soundtouch"
distfiles="https://gitlab.com/soundtouch/soundtouch/-/archive/${version}/soundtouch-${version}.tar.gz"
checksum=2826049e2f34efbc4c8a47d00c93649822b0c14e1f29f5569835704814590732
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
}
}