# Contributor: John Regan # Maintainer: John Regan pkgname=s6-dns pkgver=2.0.0.7 pkgrel=0 pkgdesc="skarnet.org's DNS client libraries and command-line DNS client utilities" url="http://skarnet.org/software/$pkgname/" arch="all" license="ISC" depends="skalibs" depends_dev="skalibs-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 \ --libdir=/usr/lib \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="55ea7f361af4d1142d5b553afdbb5c36 s6-dns-2.0.0.7.tar.gz" sha256sums="d37f05810d35ee4f98afe35467c856de10a5878e8d2ad19ccbc6599a58c6442a s6-dns-2.0.0.7.tar.gz" sha512sums="9e7faa2c364c78cc1c44152425381697f7eb26dab8e50cd6c73d30fa687a1565683d253c89208065474ed6873d738f140967ae430722332f060dfc6db08385a9 s6-dns-2.0.0.7.tar.gz"