2015-08-20 08:24:51 +02:00
|
|
|
# Template file for 'zita-resampler'
|
|
|
|
pkgname=zita-resampler
|
|
|
|
version=1.3.0
|
2015-08-20 08:29:29 +02:00
|
|
|
revision=2
|
2015-08-20 08:24:51 +02:00
|
|
|
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="98034c8c77b03ad1093f7ca0a83ccdfad5a36040a5a95bd4dac80fa68bcf2a65"
|
|
|
|
|
2015-08-20 08:29:29 +02:00
|
|
|
pre_build() {
|
|
|
|
sed -i 's/g++/$(CXX)/' Makefile
|
|
|
|
sed -i '/march=native/d' Makefile
|
|
|
|
}
|
|
|
|
|
2015-08-20 08:24:51 +02:00
|
|
|
zita-resampler-devel_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
}
|
|
|
|
}
|