aboutsummaryrefslogtreecommitdiffstats
path: root/community/stress-ng/APKBUILD
blob: 594e0773fb6a360ec67eaad1b217933f7e935b43 (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
27
28
29
30
31
32
# Contributor: Olliver Schinagl <oliver@schinagl.nl>
# Maintainer: Olliver Schinagl <oliver@schinagl.nl>
pkgname=stress-ng
pkgver=0.10.06
pkgrel=0
pkgdesc="stress-ng will stress test a computer system in various selectable ways"
url="https://kernel.ubuntu.com/~cking/stress-ng/"
arch="all"
license="GPL-2.0-or-later"
options="!check" # tests are not portable
makedepends="
	libaio-dev
	libbsd-dev
	linux-headers
	lksctp-tools-dev
	zlib-dev
	"
subpackages="$pkgname-doc"
source="https://kernel.ubuntu.com/~cking/tarballs/stress-ng/stress-ng-$pkgver.tar.xz
	fix-kernel-header-detection.patch"

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" \
		JOBDIR="/usr/share/doc/$pkgname/example-jobs/" install
}

sha512sums="97da711511d006ae309817b8a0d350069f5f70e453b6cd5f2be4f1b828e513758e3a891ac02358c9729e62c7be6497170599ef3474bb295f98c73a2fb12e66af  stress-ng-0.10.06.tar.xz
d444d2f0bc1969b133f8a915592079efdb049f08a4e13e4cfa078dc856015bbeb499abb47817b088a935096fe28c748d328f6907138eea6ec47f51efcd0d6889  fix-kernel-header-detection.patch"