void-packages/srcpkgs/volk/template
bra1nwave d455071c78 volk: update to 2.1.0.
[skip ci]
2020-02-09 19:08:31 +01:00

30 lines
857 B
Bash

# Template file for 'volk'
pkgname=volk
version=2.1.0
revision=1
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=fe422f10b880d10cb72bdd1a3362a0f65d2d6d655dd1296459773c89fae51781
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"
}
}