summaryrefslogtreecommitdiff
path: root/user/mbuffer/APKBUILD
blob: 8ce22a53f887f34267cd15c73e56688cc66e72e2 (plain) (blame)
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
# Contributor: CyberLeo <cyberleo@cyberleo.net>
# Maintainer: CyberLeo <cyberleo@cyberleo.net>
pkgname=mbuffer
pkgver=20210328
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="69f7cac7fe49a86944092d642c6138455ba95da8e6d00abd41b37d126a9f03c3252e69795c5fb5bf8e56d0ce1461bde6b51f48c5eb7073ee49ee4e6df83d834d  mbuffer-20210328.tgz
28b7c7c7ee2b2130315cd6c4765d492e9d29376670a03ab0a1ab862a1ec5dea93e91e9de5e08604db69fe4139370eedb2a0754f16e5ebec3de9b48dc2a1dbea7  test-static-file-instead.patch"