diff options
Diffstat (limited to 'user/s6-dns/APKBUILD')
-rw-r--r-- | user/s6-dns/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/user/s6-dns/APKBUILD b/user/s6-dns/APKBUILD new file mode 100644 index 000000000..26799abc0 --- /dev/null +++ b/user/s6-dns/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: John Regan <john@jrjrtech.com> +# Maintainer: Laurent Bercot <ska-devel@skarnet.org> +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" |