aboutsummaryrefslogtreecommitdiffstats
path: root/community/mbuffer/APKBUILD
blob: 1ebb9ed8a11c1a137f26a286cc0f0fba720fac0a (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=20200929
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="332106205ea8743c9cf47529106c04ac15801a02b116d8e0c0fd3baadad51331c9f4ba1c8fa125edb42940cf401048a45ba23e2dac0e5189671bcf0ecee36996  mbuffer-20200929.tgz"