summaryrefslogtreecommitdiffstats
path: root/main/c-ares/APKBUILD
blob: 817bc3df21dc5ef4bbb7e808ae41c4e94895aa01 (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
27
28
29
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=c-ares
pkgver=1.7.0
pkgrel=0
pkgdesc="An asynchronously DNS/names resolver library"
url="http://c-ares.haxx.se/"
license="GPL"
depends=
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
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}

md5sums="15ab7852306b554b0b1145f41005a3bb  c-ares-1.7.0.tar.gz"