aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mbuffer/APKBUILD
blob: c7688dd881e6314cfd46d7ea27ff8f18658e4180 (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
36
37
38
39
# Contributor: Katie Holly <holly@fuslvz.ws>
# Maintainer: Katie Holly <holly@fuslvz.ws>
pkgname=mbuffer
pkgver=20180318
pkgrel=1
pkgdesc="mbuffer buffers I/O operations and displays the throughput rate"
url="http://www.maier-komor.de/mbuffer.html"
arch="all"
license="GPL-3.0-only"
depends=""
makedepends="linux-headers libressl-dev"
install=""
subpackages="$pkgname-doc"
source="
	http://www.maier-komor.de/software/mbuffer/mbuffer-$pkgver.tgz
	"

builddir="$srcdir"/mbuffer-$pkgver

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

check() {
	cd "$builddir"
	make check TESTTREE=./
}

package() {
	cd "$builddir"
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="ac71876aa0bea3acce8ea00c3848783b752991a0e60ebc4245277fd435c2c9e08c79cc5f47c996e590e711ca1bd652ded075c24ca820efe845f578b106c43594  mbuffer-20180318.tgz"