aboutsummaryrefslogblamecommitdiffstats
path: root/main/s6-networking/APKBUILD
blob: 30e35841193973a5adf30ecc840e436a16bb6a64 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                    
                                             
                     

              



                                                                                                              
                
                                                                            
                                       
                                                                     
                                   

         
                      
                     



                                     
                                                  
                                    
                                    
            


           

                                      

 


                                           
                                                                 

 
                                                                                                                                                                           
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
# Contributor: John Regan <john@jrjrtech.com>
pkgname=s6-networking
pkgver=2.3.0.4
pkgrel=0
pkgdesc="skarnet.org's UCSPI Unix and TCP tools, access control tools, and network time management utilities."
url="http://skarnet.org/software/$pkgname/"
arch="all"
license="ISC"
options="!check"
makedepends="skalibs-dev execline-dev s6-dev s6-dns-dev bearssl bearssl-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

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

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

doc() {
	default_doc
	mkdir -p "$subpkgdir/usr/share/doc"
	cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
}

sha512sums="e0a6dbaf3420beae5b6bab1cedeaeb5d58dea36c9a6e1c3f7140515c83eaf3e872f896d90e43771d74669edcc0a3f25ba8135cc3a21d378a297d92ba2abc62d3  s6-networking-2.3.0.4.tar.gz"