void-packages/srcpkgs/volk/template

31 lines
857 B
Bash

# Template file for 'volk'
pkgname=volk
version=2.2.1
revision=2
build_style=cmake
hostmakedepends="pkg-config python3-cheetah3 git python3-Mako python3-six"
makedepends="boost-devel python3-cheetah3 python3-devel python3-Mako
python3-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=283d088f93774a55cb8be058b3d3b4a06d8bd44d6bc0016416f5a7818dd05db4
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"
}
}