summaryrefslogblamecommitdiff
path: root/user/s6-networking/APKBUILD
blob: f99d5a2e8b1c515d26e605cb460096bf50251bcd (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                      

              
                                                                                                             
                                                 
          
                                  
             
                       
                  

                                                                     
                                                     


                                                                      




                                     
                                   



                                                  


           
                                      

                                                              

 
                                                                                                                                                                           
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=s6-networking
pkgver=2.7.0.3
pkgrel=0
pkgdesc="skarnet.org's UCSPI TCP and TLS tools, access control tools, and network time management utilities."
url="https://skarnet.org/software/s6-networking/"
arch="all"
options="!check"  # No test suite.
license="ISC"
_skalibs_version=2.14.1
depends="execline"
depends_dev="skalibs-dev>=$_skalibs_version"
makedepends="$depends_dev execline-dev s6-dev s6-dns-dev bearssl-dev"
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--enable-shared \
		--enable-static \
		--disable-allstatic \
		--prefix=/usr \
		--libdir=/usr/lib \
		--libexecdir="/usr/lib/$pkgname" \
		--with-dynlib=/lib \
		--enable-ssl=bearssl
	make
}

package() {
	make DESTDIR="$pkgdir" install
	mkdir -p -m 0755 "$pkgdir/usr/share/doc"
	cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
}

sha512sums="50d369303bd448d09a3f6431e64fb0f0b13383c92764b499ed881af3a6a8c4f779f1f9d98341943f6fdc8b18d16df444897d3750212df89efd838b6de562eede  s6-networking-2.7.0.3.tar.gz"