aboutsummaryrefslogtreecommitdiffstats
path: root/testing/stress/APKBUILD
blob: 01e72936f6fa1e8d6cf88ab77182166f5826314b (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
33
34
35
# Maintainer: Andy Shinn <andys@andyshinn.as>
pkgname=stress
pkgver=1.0.4
pkgrel=0
pkgdesc="a deliberately simple workload generator for POSIX systems"
url="http://people.seas.harvard.edu/~apw/stress/"
arch="all"
license="GPLv2"
depends=
depends_dev=
makedepends="gcc make libc-dev"
install=""
subpackages="$pkgname-doc"
source="http://people.seas.harvard.edu/~apw/$pkgname/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="890a4236dd1656792f3ef9a190cf99ef  stress-1.0.4.tar.gz"
sha256sums="057e4fc2a7706411e1014bf172e4f94b63a12f18412378fca8684ca92408825b  stress-1.0.4.tar.gz"
sha512sums="623a7d9585828bed4b7673e19fb0cfdda904552cd56353d74106047b64249299d5f8da892ec135f1781ec3984c7d5835dcc6c0d8e659e06c8a1e4fb2af9fd9c4  stress-1.0.4.tar.gz"