aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mbuffer/APKBUILD
blob: 719ed28be9ae4bc23db6f5484998dfcaac96773f (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=20171011
pkgrel=0
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"
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

prepare() {
	cd "$builddir"
	default_prepare
}

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

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

sha512sums="398d7545388a94b4f8961193192cd5e1139b84f31c7699c2b7f66b84a40488a2e70c88a2a70578bd95375e11efc87978a5f6fec805dbbc5f1fea460b3a9c68c4  mbuffer-20171011.tgz"