summaryrefslogblamecommitdiff
path: root/system/c-ares/APKBUILD
blob: dfed0536dbb5929f6f0f5a723664e4d1893cb3bb (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.18.1
pkgrel=0
pkgdesc="Asynchronous DNS/name resolver library"
url="https://c-ares.org/"
arch="all"
options="!checkroot"
license="MIT"
depends=""
makedepends=""
subpackages="$pkgname-doc $pkgname-dev"
source="https://c-ares.org/download/$pkgname-$pkgver.tar.gz"

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="1276ec0799916019f8c0af6b55a139701bd15e0ca4a00811d07963893978bc96c107b980f0fd49f81aa70bc8b3b8cd671195ba357c390772d4c2c5643c50c5a5  c-ares-1.18.1.tar.gz"