mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
New package: primecount-7.2
This commit is contained in:
parent
f31b41846a
commit
36248670a9
3 changed files with 36 additions and 0 deletions
|
@ -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
|
||||
libprimecount.so.7 primecount-7.2_1
|
||||
libprimesieve.so.9 primesieve-7.7_1
|
||||
libavif.so.13 libavif-0.9.3_1
|
||||
libkdumpfile.so.9 libkdumpfile-0.4.1_1
|
||||
|
|
1
srcpkgs/primecount-devel
Symbolic link
1
srcpkgs/primecount-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
primecount
|
34
srcpkgs/primecount/template
Normal file
34
srcpkgs/primecount/template
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'primecount'
|
||||
pkgname=primecount
|
||||
version=7.2
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_TESTS=ON -DBUILD_LIBPRIMESIEVE=OFF
|
||||
-DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF"
|
||||
makedepends="primesieve-devel libgomp-devel"
|
||||
short_desc="Fast prime counting function"
|
||||
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
||||
license="BSD-2-Clause"
|
||||
homepage="https://github.com/kimwalisch/primecount/"
|
||||
distfiles="https://github.com/kimwalisch/primecount/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=54c1eec33e665a780002dda20cf39ba0cefa8e846fdeda44734fb2265cba9257
|
||||
|
||||
build_options="native_build"
|
||||
|
||||
if [ -z "$build_option_native_build" ]; then
|
||||
configure_args+=" -DWITH_POPCNT=OFF"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
}
|
||||
|
||||
primecount-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue