void-packages/srcpkgs/soundtouch/template
2021-03-09 03:58:50 -03:00

33 lines
860 B
Bash

# Template file for 'soundtouch'
pkgname=soundtouch
version=2.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://gitlab.com/soundtouch/soundtouch/-/archive/${version}/soundtouch-${version}.tar.gz"
checksum=525478c745a51dadaf7adb8e5386ec1f903d47196fab5947dc37414344684560
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
}
}