void-packages/srcpkgs/stress-ng/template

19 lines
615 B
Bash

# Template file for 'stress-ng'
pkgname=stress-ng
version=0.18.05
revision=1
build_style=gnu-makefile
make_use_env=1
short_desc="Load and stress a computer system"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/ColinIanKing/stress-ng/"
distfiles="https://github.com/ColinIanKing/stress-ng/archive/refs/tags/V${version}.tar.gz"
checksum=b0ac75b68bb804fd3276fcb235f1b0a9567090ebd887b2ed0f8a3203f9545e11
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
elif [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi