35 lines
925 B
Bash
35 lines
925 B
Bash
# Template file for 'soundtouch'
|
|
pkgname=soundtouch
|
|
version=2.1.0
|
|
revision=1
|
|
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>"
|
|
license="LGPL-2.1-only"
|
|
homepage="http://www.surina.net/soundtouch"
|
|
distfiles="https://gitlab.com/${pkgname}/${pkgname}/-/archive/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=454712b08bf758f6a4c0df8821350c323e5b274443a20e21d193d17c5dc3d0d5
|
|
|
|
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
|
|
}
|
|
}
|