aboutsummaryrefslogtreecommitdiffstats
path: root/extra/c-ares/APKBUILD
blob: 889eab3591d25f5c94522ad76476e65c5bacff6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=c-ares
pkgver=1.6.0
pkgrel=1
pkgdesc="An asynchronously DNS/names resolver library"
url="http://c-ares.haxx.se/"
license="GPL"
depends="uclibc"
makedepends=""
subpackages="$pkgname-doc $pkgname-dev"
source="http://c-ares.haxx.se/${pkgname}-${pkgver}.tar.gz"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-shared
	make || return 1
	make DESTDIR="$pkgdir" install
}

md5sums="4503b0db3dd79d3c1f58d87722dbab46  c-ares-1.6.0.tar.gz"