# Contributor: John Regan # Maintainer: John Regan pkgname=s6-networking pkgver=2.1.0.3 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="75fdb71926507e78b70d9fa6cd746245 s6-networking-2.1.0.3.tar.gz" sha256sums="e2e5324a1acd29e4c274e26bb3593403565c7694ae2491ea1065eff1b67ecb86 s6-networking-2.1.0.3.tar.gz" sha512sums="3e3a88df4dc3978a954be8c3deea0dc219e63552569be92f4d295dc68b1778d0fa91bddb92abe98ae1e949ba271d0f541e67e4a17aee494c85ca157c601010d9 s6-networking-2.1.0.3.tar.gz"