aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mbuffer/APKBUILD
blob: a795abf173beb7cd132e2967a258ad7c670175d6 (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
# Contributor: Katie Holly <holly@fuslvz.ws>
# Maintainer: Katie Holly <holly@fuslvz.ws>
pkgname=mbuffer
pkgver=20190127
pkgrel=0
pkgdesc="Tool for measuring and buffering data streams"
url="http://www.maier-komor.de/mbuffer.html"
arch="all !armhf !armv7"
license="GPL-3.0-or-later"
depends=""
makedepends="linux-headers openssl-dev"
install=""
subpackages="$pkgname-doc"
source="http://www.maier-komor.de/software/mbuffer/mbuffer-$pkgver.tgz"
options="!checkroot"

builddir="$srcdir"/mbuffer-$pkgver

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

check() {
	cd "$builddir"
	make -j1 check TESTTREE="$builddir"/*
}

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

sha512sums="e42ba41ebe206cb34d16a4b8a2cf8470e8173ba3147ade8fb1fbb3e9fcf534e0a129f2327055a034a9e65c7b59b56441717641841d632709b02f3dd5e9962922  mbuffer-20190127.tgz"