c-ares: update to 1.12.0.

This commit is contained in:
Michael Gehring 2016-09-29 19:45:57 +02:00
parent e12299aae5
commit a78d1af5fb

View file

@ -1,6 +1,6 @@
# Template file for 'c-ares'
pkgname=c-ares
version=1.11.0
version=1.12.0
revision=1
build_style=gnu-configure
short_desc="C library that performs DNS requests and name resolves asynchronously"
@ -8,7 +8,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://c-ares.haxx.se/"
distfiles="http://c-ares.haxx.se/download/$pkgname-$version.tar.gz"
checksum=b3612e6617d9682928a1d50c1040de4db6519f977f0b25d40cf1b632900b3efd
checksum=8692f9403cdcdf936130e045c84021665118ee9bfea905d1a76f04d4e6f365fb
pre_configure() {
case "$CFLAGS" in
@ -20,6 +20,10 @@ pre_configure() {
export CFLAGS=${CFLAGS/-I${XBPS_CROSS_BASE}\/usr\/include/}
}
post_install() {
vlicense LICENSE.md LICENSE
}
c-ares-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
@ -30,3 +34,4 @@ c-ares-devel_package() {
vmove usr/share/man
}
}