summaryrefslogblamecommitdiff
path: root/user/mbuffer/APKBUILD
blob: fbcaeaeb92ad7b9ec3e0fc10535a34645bc1fdd3 (plain) (tree)



































                                                                                                                                                                  
# Contributor: CyberLeo <cyberleo@cyberleo.net>
# Maintainer: CyberLeo <cyberleo@cyberleo.net>
pkgname=mbuffer
pkgver=20200929
pkgrel=0
pkgdesc="mbuffer is a tool for buffering data streams."
url="http://www.maier-komor.de/mbuffer.html"
arch="all"
license="GPL-3.0-only"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="http://www.maier-komor.de/software/mbuffer/mbuffer-$pkgver.tgz
	test-static-file-instead.patch"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="332106205ea8743c9cf47529106c04ac15801a02b116d8e0c0fd3baadad51331c9f4ba1c8fa125edb42940cf401048a45ba23e2dac0e5189671bcf0ecee36996  mbuffer-20200929.tgz
28b7c7c7ee2b2130315cd6c4765d492e9d29376670a03ab0a1ab862a1ec5dea93e91e9de5e08604db69fe4139370eedb2a0754f16e5ebec3de9b48dc2a1dbea7  test-static-file-instead.patch"