void-packages/srcpkgs/soundtouch/template

34 lines
845 B
Bash

# Template file for 'soundtouch'
pkgname=soundtouch
version=1.8.0
revision=1
wrksrc=${pkgname}
build_style=gnu-configure
hostmakedepends="libtool automake pkg-config"
short_desc="SoundTouch Audio Processing Library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.surina.net/soundtouch"
license="LGPL-2.1"
distfiles="http://www.surina.net/soundtouch/soundtouch-${version}.tar.gz"
checksum=3d4161d74ca25c5a98c69dbb8ea10fd2be409ba1a3a0bf81db407c4c261f166b
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
}
}