void-packages/srcpkgs/zita-resampler/template

29 lines
831 B
Bash

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