diff options
author | Dan Theisen <djt@hxx.in> | 2018-07-06 02:04:25 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-07-06 02:34:42 -0700 |
commit | 8d2f786addf7f1a31f61eae5b8d4b89ff5d27330 (patch) | |
tree | 95e469b8f7e2b59f50884b489f410f634040aa54 /user/s6-dns/APKBUILD | |
parent | d22b775eb85ee7e10f742d6eb837d0c46dd6a488 (diff) | |
download | packages-8d2f786addf7f1a31f61eae5b8d4b89ff5d27330.tar.gz packages-8d2f786addf7f1a31f61eae5b8d4b89ff5d27330.tar.bz2 packages-8d2f786addf7f1a31f61eae5b8d4b89ff5d27330.tar.xz packages-8d2f786addf7f1a31f61eae5b8d4b89ff5d27330.zip |
user/s6-dns: import, minor fix ups
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" |