1b27e05160
The recent update to the jitterentropy library broke rng-tools
configure. This patch fixes it. The source is the upstream commit:
daff4e2dd9
.
29 lines
840 B
Bash
29 lines
840 B
Bash
# Template file for 'rng-tools'
|
|
pkgname=rng-tools
|
|
version=6.10
|
|
revision=4
|
|
wrksrc=${pkgname}-${version}
|
|
build_style=gnu-configure
|
|
configure_args="--sbindir=/usr/bin --without-pkcs11 --without-rtlsdr"
|
|
hostmakedepends="automake pkg-config"
|
|
makedepends="libgcrypt-devel libsysfs-devel libcurl-devel libxml2-devel
|
|
jitterentropy-devel jansson-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"
|
|
distfiles="https://github.com/nhorman/rng-tools/archive/v${version}.tar.gz"
|
|
checksum=2e462821aaa7d6dc24646aa0d2239d97cb8b07b3e60715159a9edcaa9189f8ef
|
|
patch_args="-Np1"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) makedepends+=" argp-standalone" ;;
|
|
esac
|
|
|
|
pre_configure() {
|
|
autoreconf -vfi
|
|
}
|
|
|
|
post_install() {
|
|
vsv rngd
|
|
}
|