summaryrefslogblamecommitdiff
path: root/user/mbuffer/APKBUILD
blob: 4e1e4b843d6126ddc822e6c0dea120720b89e52b (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                               
               

                                                       
                                             


                      
                                   
                          
                                                                         




















                                         
                                                                                                                                                                  
                                                                                                                                                                 
# Contributor: CyberLeo <cyberleo@cyberleo.net>
# Maintainer: CyberLeo <cyberleo@cyberleo.net>
pkgname=mbuffer
pkgver=20220418
pkgrel=0
pkgdesc="mbuffer is a tool for buffering data streams."
url="https://www.maier-komor.de/mbuffer.html"
arch="all"
license="GPL-3.0-only"
depends=""
makedepends="cmd:which openssl-dev"
subpackages="$pkgname-doc"
source="https://www.maier-komor.de/software/$pkgname/$pkgname-$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="aad7f764c82e3bdd4ee3fc5ac8174e716fd44cdb0418f1994d3f506d2e58264a13e15596bc8e78e9e8bb2d181875294448085bab122a2a31356d4336bb8b54a4  mbuffer-20220418.tgz
28b7c7c7ee2b2130315cd6c4765d492e9d29376670a03ab0a1ab862a1ec5dea93e91e9de5e08604db69fe4139370eedb2a0754f16e5ebec3de9b48dc2a1dbea7  test-static-file-instead.patch"