29 lines
781 B
Bash
29 lines
781 B
Bash
# Template file for 'jitterentropy'
|
|
pkgname=jitterentropy
|
|
version=3.3.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=4868c169444e548b55f0149f3d688e53c02d1494f035e88b966e8979b58a2cc6
|
|
|
|
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
|
|
}
|
|
}
|