Added mbuffer 20180625-0

This commit is contained in:
ayakael 2018-08-29 16:06:25 -04:00
parent dcf4b76c77
commit 60738ae9b0
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

39
apk/mbuffer/APKBUILD Normal file
View file

@ -0,0 +1,39 @@
# Contributor: Katie Holly <holly@fuslvz.ws>
# Maintainer: Katie Holly <holly@fuslvz.ws>
pkgname=mbuffer
pkgver=20180625
pkgrel=0
pkgdesc="Tool for measuring and buffering data streams"
url="http://www.maier-komor.de/mbuffer.html"
arch="all"
license="GPL-3.0-or-later"
depends=""
makedepends="linux-headers libressl-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="01d712f51ac0b206d6ee91fbbd4cea4873784aaca02daa9b3d72cfcc0a63696b20c15ca4b6e834924f02f2878ac90192110df584c55fb1a65620ae8b0f7ec87e mbuffer-20180625.tgz"