void-packages/srcpkgs/jitterentropy/template
2021-10-31 01:45:29 +02:00

29 lines
781 B
Bash

# Template file for 'jitterentropy'
pkgname=jitterentropy
version=3.3.1
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=4a50cb02b4836cd5550016e2fc2263e6982abaa11467a9e1cea260c1c2f7d487
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
}
}