void-packages/srcpkgs/soundtouch/template

35 lines
887 B
Text
Raw Normal View History

2012-09-26 04:44:07 +00:00
# Template file for 'soundtouch'
pkgname=soundtouch
2014-06-02 15:41:01 +00:00
version=1.8.0
revision=1
2012-09-26 04:44:07 +00:00
wrksrc=${pkgname}
build_style=gnu-configure
hostmakedepends="libtool automake pkg-config"
2012-09-26 04:44:07 +00:00
short_desc="SoundTouch Audio Processing Library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.surina.net/soundtouch"
license="LGPL-2.1"
2014-11-03 21:54:36 +00:00
update_site="${homepage}/sourcecode.html"
2012-09-26 04:44:07 +00:00
distfiles="http://www.surina.net/soundtouch/soundtouch-${version}.tar.gz"
2014-06-02 15:41:01 +00:00
checksum=3d4161d74ca25c5a98c69dbb8ea10fd2be409ba1a3a0bf81db407c4c261f166b
2012-09-26 04:44:07 +00:00
pre_configure() {
2013-04-02 11:21:03 +00:00
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
2012-09-26 04:44:07 +00:00
./bootstrap
}
post_install() {
rm -rf ${DESTDIR}/usr/doc
}
soundtouch-devel_package() {
2014-02-17 08:24:47 +00:00
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-17 08:24:47 +00:00
vmove "usr/lib/*.so"
vmove usr/share/aclocal
}
}