summaryrefslogblamecommitdiff
path: root/user/s6-dns/APKBUILD
blob: a0fa136969f89e43288242f3a239a86133688dfe (plain) (tree)
1
2
3
4
5
6
7

                                                      
              
              

                                                                                  
                                          





                                       
                                                                      























                                                                 
                                                                                                                                                                    
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=s6-dns
pkgver=2.3.0.1
pkgrel=0
pkgdesc="skarnet.org's DNS client libraries and command-line DNS client utilities"
url="https://skarnet.org/software/s6-dns/"
arch="all"
license="ISC"
makedepends="skalibs-dev"
options="!check"
makedepends="skalibs-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://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="69ae32f9b4ff22a5d38e3a2c950357d8c8032a649c1d81e4a4e5f474ae5c1bb1072555baa1a34f955293aa0f66a93f51f2cc8efd8aa56704b906e0b0979f8157  s6-dns-2.3.0.1.tar.gz"