void-packages/srcpkgs/jitterentropy/template
Piraty 421bdfb714 jitterentropy: update to 3.0.2.
Set make_use_env=yes so the makefile appends its desired CFLAGS to those
of xbps-src (mainly so -O0 takes precedence over -O2 in XBPS_CFLAGS)
as jitterentropy should be built without optimization.
2021-04-23 21:13:04 +00:00

29 lines
781 B
Bash

# Template file for 'jitterentropy'
pkgname=jitterentropy
version=3.0.2
revision=1
wrksrc="${pkgname}-library-${version}"
build_style=gnu-makefile
make_use_env=yes
short_desc="Hardware RNG based on CPU timing jitter"
maintainer="Piraty <piraty1@inbox.ru>"
license="BSD-3-Clause"
homepage="https://www.chronox.de/jent.html"
distfiles="https://github.com/smuellerDD/jitterentropy-library/archive/v${version}.tar.gz"
checksum=5be868e343c25e24312f5e6894642ce1044994b99d6676430c760584a1b1613e
post_install() {
vlicense COPYING
vlicense COPYING.bsd
vlicense COPYING.gplv2
}
jitterentropy-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/share/man/man3
}
}