22 lines
587 B
Bash
22 lines
587 B
Bash
# Template file for 'stress-ng'
|
|
pkgname=stress-ng
|
|
version=0.16.02
|
|
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=71ac375826cc58dcbcf5f1609959ed1a5afd71192c52025b5cb273baa3df2317
|
|
|
|
pre_build() {
|
|
export HOST_CC="$CC_FOR_BUILD"
|
|
}
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
makedepends+=" musl-legacy-compat"
|
|
fi
|
|
|