dd4471d8f0
* zita-convolver: add missing symlink * zita-resampler: add missing symlink
33 lines
969 B
Bash
33 lines
969 B
Bash
# Template file for 'zita-resampler'
|
|
pkgname=zita-resampler
|
|
version=1.6.0
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
make_install_args="LIBDIR=lib"
|
|
hostmakedepends="pkg-config"
|
|
build_wrksrc="libs"
|
|
short_desc="A library for resampling audio signals"
|
|
maintainer="silvernode <mollusk@homebutter.com>"
|
|
license="GPL-3"
|
|
homepage="http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html"
|
|
distfiles="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
|
|
checksum=10888d76299d8072990939be45d6fc5865f5a45d766d7690819c5899d2a588f0
|
|
|
|
pre_build() {
|
|
sed -i 's/g++/$(CXX)/' Makefile
|
|
sed -i '/march=native/d' Makefile
|
|
}
|
|
|
|
post_install() {
|
|
# add missing symlink
|
|
ln -s libzita-resampler.so.${version} ${PKGDESTDIR}/usr/lib/libzita-resampler.so.${version%%.*}
|
|
}
|
|
|
|
zita-resampler-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|