void-packages/srcpkgs/stress-ng/template
2025-04-01 18:48:20 +02:00

18 lines
615 B
Bash

# Template file for 'stress-ng'
pkgname=stress-ng
version=0.18.12
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=20401a5a52a3b3b5d84fbdd561e4daf1076b0368a1ccbbbc8d41af2be6ea6f34
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
elif [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi