void-packages/srcpkgs/jitterentropy/template
2021-09-11 16:57:54 +02:00

29 lines
781 B
Bash

# Template file for 'jitterentropy'
pkgname=jitterentropy
version=3.2.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"
homepage="https://www.chronox.de/jent.html"
distfiles="https://github.com/smuellerDD/jitterentropy-library/archive/v${version}.tar.gz"
checksum=0f052d4c854bd46467e6470d9a7d7d253dc051cf3ba2f65dcd0b7a209e1901f6
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
}
}