mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-18 07:07:01 +02:00
28 lines
874 B
Bash
28 lines
874 B
Bash
# Template file for 'primesieve'
|
|
pkgname=primesieve
|
|
version=12.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"
|
|
changelog="https://raw.githubusercontent.com/kimwalisch/primesieve/master/ChangeLog"
|
|
distfiles="https://github.com/kimwalisch/primesieve/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=c29d5173266f39804fa607783163c823eb1112132d4c68884e20a54b1a30f9f5
|
|
|
|
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"
|
|
}
|
|
}
|