# Contributor: John Regan # Maintainer: Laurent Bercot pkgname=s6-dns pkgver=2.3.0.0 pkgrel=0 pkgdesc="skarnet.org's DNS client libraries and command-line DNS client utilities" url="http://skarnet.org/software/s6-dns/" arch="all" license="ISC" makedepends="skalibs-dev" options="!check" makedepends="skalibs-dev" subpackages="$pkgname-dev $pkgname-doc" source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" build() { cd "$builddir" ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --prefix=/usr \ --libexecdir="/usr/lib/$package" \ --with-dynlib=/lib 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="9afa98d0a7a9d84311f6f93d5c1742f7dcfb84c76ca363f9e09b3b40cd3faa1721aebb6e974a98991c037d82b2540c1edbc3cc13ea5f7e3dd95a96d14918e454 s6-dns-2.3.0.0.tar.gz"