summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2017-06-22 13:20:52 -0400
committerAnthony G. Basile <blueness@gentoo.org>2017-06-22 13:20:52 -0400
commitbb03e3f5d73b4a929bc97e2bc70f7cb0628de222 (patch)
tree02739c71712916a821b06f9240feebb376e5b9c9 /net-dns/c-ares
parentnet-misc/electrum: version bump to 2.8.3 (diff)
downloadgentoo-bb03e3f5d73b4a929bc97e2bc70f7cb0628de222.tar.gz
gentoo-bb03e3f5d73b4a929bc97e2bc70f7cb0628de222.tar.bz2
gentoo-bb03e3f5d73b4a929bc97e2bc70f7cb0628de222.zip
net-dns/c-ares: version bump to 1.13.0
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'net-dns/c-ares')
-rw-r--r--net-dns/c-ares/Manifest1
-rw-r--r--net-dns/c-ares/c-ares-1.13.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/net-dns/c-ares/Manifest b/net-dns/c-ares/Manifest
index c0136a630567..674fa7bd99eb 100644
--- a/net-dns/c-ares/Manifest
+++ b/net-dns/c-ares/Manifest
@@ -1 +1,2 @@
DIST c-ares-1.12.0.tar.gz 1769879 SHA256 8692f9403cdcdf936130e045c84021665118ee9bfea905d1a76f04d4e6f365fb SHA512 3da0fadb04eccab49b4e6eff3f087a392dd76238d47e74e2ede723883468da688e41f679ee8ca38613fc4f80d3bd7c29e69d3d6c711f988a02fd5d21a3ee1dc6 WHIRLPOOL 69d297213c6ca0988d3b7697d40443dabb3a9b4ceb65c357a3ec99ab2af7c0a7c669f2dc7f75833e0c8a661525ae4003be8109d2d5c1e90887b8349cd63a8d5c
+DIST c-ares-1.13.0.tar.gz 1446797 SHA256 03f708f1b14a26ab26c38abd51137640cb444d3ec72380b21b20f1a8d2861da7 SHA512 4a7942e754673f5b8d55a7471e31b0f390e8324b14c12077580c956147fad4d165c7fe8a3190199b1add95c710ceeb1a7957706d4f0d6299d39c5dddc719bd9d WHIRLPOOL 02a398db6a1256aabb77e445be6131319f2f1f15327146fb3293033f7b6a15e499bead3d8ded022eb38f6509c76dc0981a3ce139e16132373540c21e7a313d89
diff --git a/net-dns/c-ares/c-ares-1.13.0.ebuild b/net-dns/c-ares/c-ares-1.13.0.ebuild
new file mode 100644
index 000000000000..0953dcfdfbc0
--- /dev/null
+++ b/net-dns/c-ares/c-ares-1.13.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils multilib-minimal
+
+DESCRIPTION="C library that resolves names asynchronously"
+HOMEPAGE="http://c-ares.haxx.se/"
+SRC_URI="http://${PN}.haxx.se/download/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris"
+IUSE="static-libs"
+
+# Subslot = SONAME of libcares.so.2
+SLOT="0/2"
+
+DOCS=( AUTHORS CHANGES NEWS README.md RELEASE-NOTES TODO )
+
+MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/ares_build.h
+)
+
+src_prepare() {
+ eapply "${FILESDIR}"/${PN}-1.12.0-remove-tests.patch
+ eapply_user
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf \
+ --enable-nonblocking \
+ --enable-symbol-hiding \
+ $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ prune_libtool_files --all
+}