void-packages/srcpkgs/soundtouch/template

34 lines
861 B
Bash

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