void-packages/srcpkgs/soundtouch/template
2014-02-17 09:24:47 +01:00

33 lines
845 B
Text

# Template file for 'soundtouch'
pkgname=soundtouch
version=1.7.0
revision=3
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=0c94722ab995489b7816baa553a1cfd433e1005d456382e31defd068b003c848
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
}
}