rng-tools: update to 6.9.

add new build dependency 'jitterentropy'
This commit is contained in:
Piraty 2019-12-20 15:03:06 +01:00 committed by Andrea Brancaleoni
parent 2098bb5e57
commit 3ed6e91c54

View file

@ -1,39 +1,26 @@
# Template file for 'rng-tools'
pkgname=rng-tools
version=6.8
version=6.9
revision=1
wrksrc=${pkgname}-${version}
build_style=gnu-configure
makedepends="libgcrypt-devel libsysfs-devel libcurl-devel libxml2-devel"
configure_args="--sbindir=/usr/bin --without-pkcs11 --with-libgcrypt"
hostmakedepends="automake pkg-config"
makedepends="libgcrypt-devel libsysfs-devel libcurl-devel libxml2-devel
jitterentropy-devel"
short_desc="Random number generator related utilities"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-or-later"
homepage="https://github.com/nhorman/rng-tools/releases"
distfiles="https://github.com/nhorman/rng-tools/archive/v${version}.tar.gz"
checksum=93e548d4aaf2a1897d4b677f41d8473db1c7f57648adeca18cafa1907e410bb3
configure_args="--sbindir=/usr/bin --without-pkcs11"
checksum=a57a7f51a2e3c0faa8afb979709a4c0cbea36d0b52fd835b104f8fb4fd1fa610
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" argp-standalone"
;;
*-musl) makedepends+=" argp-standalone" ;;
esac
pre_configure() {
sh autogen.sh
}
do_build() {
case "$XBPS_TARGET_MACHINE" in
*-musl)
LIBS="-largp -lgcrypt"
;;
*)
LIBS="-lgcrypt"
;;
esac
make CC="$CC" LIBS="$LIBS" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
autoreconf -vfi
}
post_install() {