diff options
Diffstat (limited to 'meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb')
-rw-r--r-- | meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb b/meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb new file mode 100644 index 0000000000..359560b9e2 --- /dev/null +++ b/meta/recipes-extended/stress-ng/stress-ng_0.14.06.bb | |||
@@ -0,0 +1,29 @@ | |||
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" | ||
9 | SRCREV = "03493cb69e91c29718ff9f645514355cd99762c6" | ||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | DEPENDS = "coreutils-native" | ||
13 | |||
14 | PROVIDES = "stress" | ||
15 | RPROVIDES:${PN} = "stress" | ||
16 | RREPLACES:${PN} = "stress" | ||
17 | RCONFLICTS:${PN} = "stress" | ||
18 | |||
19 | inherit bash-completion | ||
20 | |||
21 | do_compile:prepend() { | ||
22 | mkdir -p configs | ||
23 | touch configs/HAVE_APPARMOR | ||
24 | } | ||
25 | |||
26 | do_install() { | ||
27 | oe_runmake DESTDIR=${D} install | ||
28 | ln -s stress-ng ${D}${bindir}/stress | ||
29 | } | ||