40 lines
926 B
Text
40 lines
926 B
Text
|
# 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"
|
||
|
|