aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-test/stress-ng/stress-ng_0.09.14.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-01-31 22:03:55 -0800
committerArmin Kuster <akuster808@gmail.com>2018-02-11 11:52:32 -0800
commit49ee7840f63f47c61c4a1b410194245921385f91 (patch)
treeab872bb382e6ecd24dd3c40fc835caf3bf7633bb /meta-oe/recipes-test/stress-ng/stress-ng_0.09.14.bb
parent9e35f8d7883f837483d8be1c3333950d18b5eac5 (diff)
downloadmeta-openembedded-contrib-49ee7840f63f47c61c4a1b410194245921385f91.tar.gz
stress-ng: Upgrade to 0.09.14
drop upstreamed patch Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-test/stress-ng/stress-ng_0.09.14.bb')
-rw-r--r--meta-oe/recipes-test/stress-ng/stress-ng_0.09.14.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-oe/recipes-test/stress-ng/stress-ng_0.09.14.bb b/meta-oe/recipes-test/stress-ng/stress-ng_0.09.14.bb
new file mode 100644
index 00000000000..7fab43025f7
--- /dev/null
+++ b/meta-oe/recipes-test/stress-ng/stress-ng_0.09.14.bb
@@ -0,0 +1,25 @@
+SUMMARY = "A tool to load and stress a computer system"
+HOMEPAGE = "http://kernel.ubuntu.com/~cking/stress-ng/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+DEPENDS = "zlib libaio"
+
+SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.xz \
+ file://0002-stress-fcntl-fix-build-for-musl.patch \
+ "
+SRC_URI_append_libc-musl = " \
+ file://0001-Several-changes-to-fix-musl-build.patch \
+ "
+SRC_URI[md5sum] = "1f8b6c2c2830704d2a2814c16082d48e"
+SRC_URI[sha256sum] = "02cac34a5cb041197af60c1867844c6cbb089a6d10a38cdcf7b8f27bfaa6ef8f"
+
+UPSTREAM_CHECK_URI ?= "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/"
+UPSTREAM_CHECK_REGEX ?= "(?P<pver>\d+(\.\d+)+)\.tar"
+
+CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"'"
+
+do_install_append() {
+ install -d ${D}${bindir}
+ install -m 755 ${S}/stress-ng ${D}${bindir}/stress-ng
+}