# Maintainer: Laurent Bercot # Contributor: John Regan setvar pkgname = 's6-dns' setvar pkgver = '2.2.0.1' setvar pkgrel = '0' setvar pkgdesc = ""skarnet.org's DNS client libraries and command-line DNS client utilities"" setvar url = ""http://skarnet.org/software/$pkgname/"" setvar arch = ""all"" setvar license = ""ISC"" setvar depends = ""skalibs"" setvar options = ""!check"" setvar makedepends = ""skalibs-dev"" setvar subpackages = ""$pkgname-dev $pkgname-doc"" setvar source = ""http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"" setvar builddir = ""$srcdir/"$pkgname-$pkgver" proc build { cd $builddir ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --prefix=/usr \ --libexecdir="/usr/lib/$package" \ --with-dynlib=/lib make } proc package { cd $builddir make DESTDIR="$pkgdir" install } proc doc { default_doc mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } setvar sha512sums = ""9b62ddec94be86d186520f0240dafda95861c54345f92a1fac3251f8560e70932bc5915cca4136d428ed02d0718e8082ad382bffd0c707ae867f1896d93ecaed s6-dns-2.2.0.1.tar.gz""