New package: primesieve-7.7

This commit is contained in:
Gonzalo Tornaría 2021-12-13 15:40:18 -03:00 committed by Leah Neukirchen
parent a43d2923ec
commit f31b41846a
3 changed files with 33 additions and 0 deletions

View File

@ -4053,6 +4053,7 @@ libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
libbraiding.so.0 libbraiding-1.1_1
libstemmer.so.2 libstemmer-2.1.0_1
libdecor-0.so.0 libdecor-0.1.0_1
libprimesieve.so.9 primesieve-7.7_1
libavif.so.13 libavif-0.9.3_1
libkdumpfile.so.9 libkdumpfile-0.4.1_1
libamd.so.2 SuiteSparse-5.10.1_1

1
srcpkgs/primesieve-devel Symbolic link
View File

@ -0,0 +1 @@
primesieve

View File

@ -0,0 +1,31 @@
# Template file for 'primesieve'
pkgname=primesieve
version=7.7
revision=1
build_style=cmake
configure_args="-DBUILD_TESTS=ON -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF"
short_desc="Fast prime number generator"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-2-Clause"
homepage="https://github.com/kimwalisch/primesieve"
distfiles="https://github.com/kimwalisch/primesieve/archive/refs/tags/v${version}.tar.gz"
checksum=fcb3f25e68081c54e5d560d6d1f6448d384a7051e9c56d56ee0d65d6d7954db1
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
post_install() {
vlicense COPYING
}
primesieve-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}