421bdfb714
Set make_use_env=yes so the makefile appends its desired CFLAGS to those of xbps-src (mainly so -O0 takes precedence over -O2 in XBPS_CFLAGS) as jitterentropy should be built without optimization.
29 lines
781 B
Bash
29 lines
781 B
Bash
# Template file for 'jitterentropy'
|
|
pkgname=jitterentropy
|
|
version=3.0.2
|
|
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=5be868e343c25e24312f5e6894642ce1044994b99d6676430c760584a1b1613e
|
|
|
|
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
|
|
}
|
|
}
|