# Contributor: John Regan # Maintainer: John Regan pkgname=s6-networking pkgver=2.1.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" depends="skalibs execline s6 s6-dns" depends_dev="skalibs-dev execline-dev s6-dev s6-dns-dev" makedepends="$depends_dev" install="" subpackages="$pkgname-dev" source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --enable-shared \ --enable-static \ --disable-allstatic \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="07a19e69db4978ef5c03cfd7daf3a827 s6-networking-2.1.0.4.tar.gz" sha256sums="0fb4bd02371077c6bed2878d22c9acbfc01834da6752277fbb92d8312076640a s6-networking-2.1.0.4.tar.gz" sha512sums="6c3fb2ad310c21d92de1b168ef35d61f0553a25c13b75d1fc862fb725afb6ea35f8c4d4a91ba84fac062fbae2e54801f91a0a0c078818cd3a96dcd44b586df3e s6-networking-2.1.0.4.tar.gz"