aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro/recipes-extra/stress-ng/stress-ng_0.08.17.bb
blob: f8b0a0d27766ef22e7d0a073191106f71764c5e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.gz"

SRC_URI[md5sum] = "e0f6497a8c06f5d652bc2ad88d449c12"
SRC_URI[sha256sum] = "37cc73e42f5bdb0e0571ba88f6a69b8f05ee28e51afcafc2231c1058b1a5dd18"

CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2"

do_install_append() {
    install -d ${D}${bindir}
    install -m 755 ${S}/stress-ng ${D}${bindir}/stress-ng
}