From 60738ae9b070087a99f3b9d3aad47955702e0e92 Mon Sep 17 00:00:00 2001 From: ayakael Date: Wed, 29 Aug 2018 16:06:25 -0400 Subject: [PATCH] Added mbuffer 20180625-0 --- apk/mbuffer/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 apk/mbuffer/APKBUILD diff --git a/apk/mbuffer/APKBUILD b/apk/mbuffer/APKBUILD new file mode 100644 index 0000000..fbc96cf --- /dev/null +++ b/apk/mbuffer/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Katie Holly +# Maintainer: Katie Holly +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" +