void-packages/srcpkgs/zita-convolver/template

30 lines
834 B
Bash
Raw Normal View History

2015-08-21 15:24:24 +00:00
# Template file for 'zita-convolver'
pkgname=zita-convolver
version=3.1.0
revision=1
build_style=gnu-makefile
make_install_args="LIBDIR=lib"
hostmakedepends="pkg-config"
makedepends="fftw-devel"
build_wrksrc="libs"
short_desc="A fast partitioned convolution engine library"
maintainer="silvernode <mollusk@homebutter.com>"
license="GPL-3"
homepage="http://kokkinizita.linuxaudio.org/linuxaudio/"
distfiles="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
checksum="bf7e93b582168b78d40666974460ad8142c2fa3c3412e327e4ab960b3fb31993"
pre_build() {
sed -i 's/g++/$(CXX)/' Makefile
sed -i '/march=native/d' Makefile
}
zita-convolver-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}