void-packages/srcpkgs/zita-resampler/template

29 lines
829 B
Bash

# Template file for 'zita-resampler'
pkgname=zita-resampler
version=1.6.0
revision=1
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
}
zita-resampler-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}