summaryrefslogblamecommitdiff
path: root/system/c-ares/APKBUILD
blob: 564b70ce9685bd1efe2d9154fab075da18f322a6 (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.16.1
pkgrel=0
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"

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="4ac2a5d5c6da74eb1d6155c4eadc7127ab1b53a8d13caec41bd6172db5417a79f3ab022e77ba37d8b13da6893d7ced5fd8baf5cc3950a4154b4de8743ad31471  c-ares-1.16.1.tar.gz"