diff options
Diffstat (limited to 'meta/recipes-extended/stress-ng/stress-ng_0.19.02.bb')
-rw-r--r-- | meta/recipes-extended/stress-ng/stress-ng_0.19.02.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.19.02.bb b/meta/recipes-extended/stress-ng/stress-ng_0.19.02.bb new file mode 100644 index 0000000000..dd8d3a8406 --- /dev/null +++ b/meta/recipes-extended/stress-ng/stress-ng_0.19.02.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "System load testing utility" | ||
2 | DESCRIPTION = "Deliberately simple workload generator for POSIX systems. It \ | ||
3 | imposes a configurable amount of CPU, memory, I/O, and disk stress on the system." | ||
4 | HOMEPAGE = "https://github.com/ColinIanKing/stress-ng#readme" | ||
5 | LICENSE = "GPL-2.0-only" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
7 | |||
8 | SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master;tag=V${PV}" | ||
9 | SRCREV = "8d5399b282225f758606cd2b522382f65d947a8d" | ||
10 | |||
11 | DEPENDS = "coreutils-native libbsd" | ||
12 | |||
13 | PROVIDES = "stress" | ||
14 | RPROVIDES:${PN} = "stress" | ||
15 | RREPLACES:${PN} = "stress" | ||
16 | RCONFLICTS:${PN} = "stress" | ||
17 | |||
18 | inherit bash-completion | ||
19 | |||
20 | EXTRA_OEMAKE = "VERBOSE=1" | ||
21 | |||
22 | do_configure() { | ||
23 | mkdir -p configs | ||
24 | touch configs/HAVE_APPARMOR | ||
25 | oe_runmake makeconfig | ||
26 | } | ||
27 | |||
28 | do_install() { | ||
29 | oe_runmake DESTDIR=${D} BINDIR=${bindir} install | ||
30 | ln -s stress-ng ${D}${bindir}/stress | ||
31 | } | ||
32 | |||
33 | # upstream issue: https://github.com/ColinIanKing/stress-ng/issues/315 | ||
34 | DEBUG_BUILD = "0" | ||