void-packages/srcpkgs/jitterentropy/template

32 lines
795 B
Bash

# Template file for 'jitterentropy'
pkgname=jitterentropy
version=3.4.0
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, GPL-2.0-only"
homepage="https://www.chronox.de/jent.html"
distfiles="https://www.chronox.de/jent/${pkgname}-library-${version}.tar.xz"
checksum=979fa4277decf9792f3422b142237e77d8b6ca41e50474083eb2f0976f2479b3
CFLAGS="-O0"
post_install() {
vlicense LICENSE
vlicense LICENSE.bsd
vlicense LICENSE.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
}
}