29 lines
816 B
Bash
29 lines
816 B
Bash
# Template file for 'rng-tools'
|
|
pkgname=rng-tools
|
|
version=6.9
|
|
revision=1
|
|
wrksrc=${pkgname}-${version}
|
|
build_style=gnu-configure
|
|
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=a57a7f51a2e3c0faa8afb979709a4c0cbea36d0b52fd835b104f8fb4fd1fa610
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) makedepends+=" argp-standalone" ;;
|
|
esac
|
|
|
|
pre_configure() {
|
|
autoreconf -vfi
|
|
}
|
|
|
|
post_install() {
|
|
vsv rngd
|
|
}
|