summaryrefslogblamecommitdiff
path: root/user/c-ares/APKBUILD
blob: 8b9cc81ee5810cf486c6c21e6b86d4d4157939ba (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     
                                                 
              
             
        
                                                
                             
          
                    



                                       


                                                               
 
         










                                           



                          


                                          

                                                                                                                                                                  
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=c-ares
pkgver=1.15.0
pkgrel=1
pkgdesc="Asynchronous DNS/name resolver library"
url="https://c-ares.haxx.se/"
arch="all"
options="!checkroot"
license="MIT"
depends=""
makedepends=""
subpackages="$pkgname-doc $pkgname-dev"
source="https://c-ares.haxx.se/download/$pkgname-$pkgver.tar.gz
	onion-segfault.patch
	"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-shared
	make
}

check() {
	make -C test check
}

package() {
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="a1de6c5e7e1a6a13c926aae690e83d5caa51e7313d63da1cf2af6bc757c41d585aad5466bc3ba7b7f7793cb1748fa589f40972b196728851c8b059cfc8c3be50  c-ares-1.15.0.tar.gz
f26d4e981afc87fe734893d91210f1d5cbdf841d7704acf41a964991ab669fffd0ffd661c24be84d67edc9e1d6804214e6e7188e77f6555c01c9ad8165f6fbfa  onion-segfault.patch"