void-packages/srcpkgs/volk/template

32 lines
847 B
Bash

# Template file for 'volk'
pkgname=volk
version=1.4
revision=4
build_style=cmake
hostmakedepends="pkg-config python-cheetah git python-Mako
python-six"
makedepends="boost-devel python-cheetah python-devel
python-Mako python-six"
short_desc="Vector-Optimized Library of Kernels"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://libvolk.org/"
distfiles="https://github.com/gnuradio/volk/archive/v${version}.tar.gz"
checksum=32131ba17846850c07270bc5897dd2de7130ec02ca029875a36966335120e7bf
case "$XBPS_TARGET_MACHINE" in
armv6l*)
configure_args="-Dhave_mfpu_neon=0";;
esac
volk-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove /usr/include
vmove /usr/lib/pkgconfig
vmove /usr/lib/cmake
vmove "/usr/lib/*.so"
}
}