# Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=c-ares pkgver=1.7.4 pkgrel=2 pkgdesc="An asynchronously DNS/names resolver library" url="http://c-ares.haxx.se/" arch="all" 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 || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 } md5sums="dd71e8f07d9f3c837e12a5416d1b7f73 c-ares-1.7.4.tar.gz"