blob: 24f55ada288337a03a3083efe066302633438438 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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 \
"
SRC_URI_append_libc-musl = " \
file://0001-Several-changes-to-fix-musl-build.patch \
file://0002-stress-fcntl-fix-build-for-musl.patch \
file://0003-stress-fcntl.c-fix-syntax-errors.patch"
SRC_URI[md5sum] = "6e4df71095e780654ccc0a713b8423fe"
SRC_URI[sha256sum] = "e993fddb1d990a0cdb23b2af6cf6c417a1c09e155ada7c558ad80eae8a5feed3"
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
}
|