void-packages/srcpkgs/soundtouch/template
2015-09-12 08:57:06 +02:00

35 lines
909 B
Bash

# Template file for 'soundtouch'
pkgname=soundtouch
version=1.9.1
revision=1
wrksrc=${pkgname}
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>"
homepage="http://www.surina.net/soundtouch"
license="LGPL-2.1"
distfiles="http://www.surina.net/soundtouch/soundtouch-${version}.tar.gz"
checksum=7d22e09e5e0a5bb8669da4f97ec1d6ee324aa3e7515db7fa2554d08f5259aecd
pre_configure() {
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
./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
}
}