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

                                                      
              

              
                                                                                  
                                          
          
                
             
                     
          

                                            
                                                     
                                                                      

         




                                     
                                   
                                                  




                                  
                                      

                                                              

 
                                                                                                                                                                    
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=s6-dns
pkgver=2.3.7.2
pkgrel=0
pkgdesc="skarnet.org's DNS client libraries and command-line DNS client utilities"
url="https://skarnet.org/software/s6-dns/"
arch="all"
options="!check"
license="ISC"
_skalibs_version=2.14
depends=""
depends_dev="skalibs-dev>=$_skalibs_version"
makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--enable-shared \
		--enable-static \
		--disable-allstatic \
		--prefix=/usr \
		--libdir=/usr/lib \
		--libexecdir="/usr/lib/$pkgname" \
		--with-dynlib=/lib
	make
}

package() {
	make DESTDIR="$pkgdir" install
	mkdir -p -m 0755 "$pkgdir/usr/share/doc"
	cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
}

sha512sums="4dc89e3b8ba22e4e63e8e5a84432ce444865712755c600b4bc62b49dda13c09c372ff2169b0db4790d0f07c392005dda76ed1df5ef8335d2f382d09919b53eae  s6-dns-2.3.7.2.tar.gz"