New package: volk-1.3
- Set volk to use pre-CXX11 ABI to work with boost.
This commit is contained in:
parent
f22a41327a
commit
706a82e4dc
3 changed files with 31 additions and 0 deletions
|
@ -3091,3 +3091,4 @@ libscrypt.so.0 libscrypt-devel-1.21_1
|
|||
liblwipv6.so.2 lwipv6-1.5a_1
|
||||
libpipewire-0.1.so.0 pipewire-0.1.7_1
|
||||
libspa-lib.so.0 pipewire-0.1.7_1
|
||||
libvolk.so.1.3 volk-1.3_1
|
||||
|
|
1
srcpkgs/volk-devel
Symbolic link
1
srcpkgs/volk-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
volk
|
29
srcpkgs/volk/template
Normal file
29
srcpkgs/volk/template
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Template file for 'volk'
|
||||
pkgname=volk
|
||||
version=1.3
|
||||
revision=1
|
||||
build_style=cmake
|
||||
short_desc="Vector-Optimized Library of Kernels"
|
||||
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||
hostmakedepends="pkg-config python python-cheetah"
|
||||
makedepends="python-devel python-cheetah boost-devel"
|
||||
license="GPL-3"
|
||||
homepage="http://libvolk.org/"
|
||||
distfiles="https://github.com/gnuradio/volk/archive/v${version}.tar.gz"
|
||||
checksum=90b69515d3cc6d76bbc589cec63d600b690bffe2e2938be2f895176f18f7e3af
|
||||
|
||||
pre_configure() {
|
||||
if [ -z $CROSS_BUILD ]; then
|
||||
sed -i 's/-D_GLIBCXX_USE_CXX11_ABI=1/-D_GLIBCXX_USE_CXX11_ABI=0/g' CMakeLists.txt
|
||||
fi
|
||||
}
|
||||
|
||||
volk-devel_package() {
|
||||
short_desc+=" - development"
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/*.so
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue