25 lines
736 B
Bash
25 lines
736 B
Bash
# Template file for 'stress-ng'
|
|
pkgname=stress-ng
|
|
version=0.15.03
|
|
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=7cceca64da37fd3c8db7167ed386fd7d3e1d9d6891a1f6227911ab8d4b17379c
|
|
|
|
case "$XBPS_MACHINE" in
|
|
# stress-vecshuf.c:107:39: internal compiler error: in expand_debug_locations, at cfgexpand.c:5458
|
|
x86_64) nodebug=yes;;
|
|
esac
|
|
|
|
post_patch() {
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
sed -i 's/list_methods\[\]/list_methods[0]/g' stress-list.c
|
|
fi
|
|
}
|
|
|