void-packages/srcpkgs/vectorscan/template

36 lines
1.1 KiB
Bash
Raw Normal View History

# Template file for 'vectorscan'
pkgname=vectorscan
version=5.4.11
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DSIMDE_BACKEND=ON"
hostmakedepends="python3 ragel pkg-config"
makedepends="boost-devel sqlite-devel pcre-devel simde"
short_desc="High-performance regular expression matching library"
maintainer="classabbyamp <void@placeviolette.net>"
license="BSD-3-Clause"
homepage="https://www.vectorcamp.gr/project/vectorscan/"
changelog="https://github.com/VectorCamp/vectorscan/blob/develop/CHANGELOG-vectorscan.md"
distfiles="https://github.com/VectorCamp/vectorscan/archive/refs/tags/vectorscan/${version}.tar.gz"
checksum=905f76ad1fa9e4ae0eb28232cac98afdb96c479666202c5a4c27871fb30a2711
case "$XBPS_TARGET_MACHINE" in
armv*|i686*) broken="needs simd, simde support in next version" ;;
esac
post_install() {
vlicense COPYING
}
vectorscan-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/doc
}
}