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

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

check() {
	cd "$builddir"
	make -C test check
}

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

sha512sums="30cd3f8c4eea15f994b2ceb44d84e506858f69f624e651e39bb4db523fea9ad5e8906b75abf07131ae364be19172274ed4053059669091f21ce4463cdbb857bf  c-ares-1.14.0.tar.gz"