void-packages/srcpkgs/soundtouch/template

49 lines
1.3 KiB
Text
Raw Normal View History

2012-09-26 04:44:07 +00:00
# Template file for 'soundtouch'
pkgname=soundtouch
version=1.7.0
2013-04-02 11:21:03 +00:00
revision=2
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"
distfiles="http://www.surina.net/soundtouch/soundtouch-${version}.tar.gz"
checksum=0c94722ab995489b7816baa553a1cfd433e1005d456382e31defd068b003c848
long_desc="
SoundTouch is an open-source audio processing library for changing the
Tempo, Pitch and Playback Rates of audio streams or audio files
Tempo (time stretch): Changes the sound to play at faster or slower tempo
than originally without affecting the sound pitch.
Pitch (key) : Changes the sound pitch or key while keeping the original
tempo (speed).
Playback Rate : Changes both tempo and pitch together as if a vinyl disc
was played at different RPM rate."
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() {
depends="${sourcepkg}>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
}
}
soundtouch_package() {
pkg_install() {
vmove usr
}
}