# Maintainer: Laurent Bercot # Contributor: John Regan pkgname=s6-networking pkgver=2.3.0.1 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 libressl libressl-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=libressl 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="d0f2367a916d578e02ed8b482c73e62c59eed60cf08f98d6294b12fd7aa046b2fe18294b0243a59a05a9ec1a082e8e9398d6e89145edcb2b1022fa90e7197da2 s6-networking-2.3.0.1.tar.gz"