aboutsummaryrefslogtreecommitdiffstats
path: root/community/mbuffer/APKBUILD
blob: 7ce7d9da7bfea2a594fc804dad363f5a2e2c0be2 (plain) (blame)
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: Katie Holly <holly@fuslvz.ws>
# Maintainer: Katie Holly <holly@fuslvz.ws>
pkgname=mbuffer
pkgver=20200505
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"
makedepends="linux-headers openssl-dev"
subpackages="$pkgname-doc"
source="http://www.maier-komor.de/software/mbuffer/mbuffer-$pkgver.tgz"

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		SH=/bin/sh
	make
}

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

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

sha512sums="8a1e5721869fd705d02486cf93467bfe0a59b58789826ca337c18a023e9fbb18c1651211bfebdea4cdd45772ad23d0715bb3892bed04ce66f5fbe72406cde9f7  mbuffer-20200505.tgz"