# Maintainer: Laurent Bercot # Contributor: John Regan pkgname=s6-networking pkgver=2.1.1.0 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 \ --enable-shared \ --enable-static \ --disable-allstatic \ --prefix=/usr \ --libexecdir="/usr/lib/$pkgname" \ --with-dynlib=/lib \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="09b054850b2a2ebc741184f8ad44e78b s6-networking-2.1.1.0.tar.gz" sha256sums="dce137678cf3cc33725119ab2eddc145d847f14b2179c9944d844c41c1760f65 s6-networking-2.1.1.0.tar.gz" sha512sums="fe5c69bc3d00a0eb3bb5e148978a97cc3f44fe660b17bbd3f075b0138b746ea05e04423a30dafc88a1ff529a32148260ab153c5a674c63bde45c0bd56aab7392 s6-networking-2.1.1.0.tar.gz"