diff options
Diffstat (limited to 'main/c-ares/APKBUILD')
-rw-r--r-- | main/c-ares/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/c-ares/APKBUILD b/main/c-ares/APKBUILD new file mode 100644 index 000000000..889eab359 --- /dev/null +++ b/main/c-ares/APKBUILD @@ -0,0 +1,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" + |