summaryrefslogtreecommitdiff
path: root/recipes-benchmark/stress-ng/stress-ng_0.08.06.bb
blob: ae906be0811059801c7c17214bc57d1fdad92d45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DESCRIPTION = "stress-ng will stress test a computer system in various selectable ways. \
    It was designed to exercise various physical subsystems of a computer as well as the \
    various operating system kernel interfaces."
HOMEPAGE = "http://kernel.ubuntu.com/~cking/stress-ng/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

SRC_URI = "git://kernel.ubuntu.com/cking/stress-ng.git;protocol=git"
SRCREV = "8a91f84659a66fb7aa85db032bee49445449f1e7"

S = "${WORKDIR}/git"

do_compile() {
    oe_runmake CFLAGS="-DVERSION=\\\"${PV}\\\""
}

do_install() {
    oe_runmake install DESTDIR=${D} BINDIR=${bindir} MANDIR=${mandir}
    chown -R root:root ${D} ${bindir} ${mandir}
}