void-packages/srcpkgs/jitterentropy/template

29 lines
764 B
Bash

# Template file for 'jitterentropy'
pkgname=jitterentropy
version=3.0.1
revision=3
wrksrc="${pkgname}-library-${version}"
build_style=gnu-makefile
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=015a443ebfaab7bc302caa24dcc124aefe1818046893f49591d2465bd3f58e16
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
}
}