# Template file for 'rng-tools' pkgname=rng-tools version=6.14 revision=1 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 " 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=4dd86f6ae37d917a8489f44070d39d7feddcc622429b95efd7aa85a1f3cfdf81 case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" argp-standalone" ;; esac pre_configure() { autoreconf -vfi } post_install() { vsv rngd }