Upgraded the c-ares Portage package

Upgraded net-dns/c-ares to version 1.7.5 on arm, x86.

This is step 1. Step 2 will be to enable 1.7.5 for arm, amd64, and x86,
in chromiumos-overlay/profiles/targets/chromeos/package.keywords.

BUG=chromium-os:22470
TEST=built x86-alex and arm-generic

Change-Id: I91c64972c8ac107cec75530e09ef977fc549db69
Reviewed-on: https://gerrit.chromium.org/gerrit/12315
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Ready: Jason Glasgow <jglasgow@chromium.org>
Reviewed-by: Jason Glasgow <jglasgow@chromium.org>
Tested-by: Jason Glasgow <jglasgow@chromium.org>
This commit is contained in:
Jason Glasgow 2011-12-01 08:11:23 -05:00 committed by Gerrit
parent 2374aa31e0
commit 932f57ccf0

View File

@ -0,0 +1,28 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/c-ares/c-ares-1.7.5.ebuild,v 1.1 2011/08/21 11:23:15 angelos Exp $
EAPI=4
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"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris"
IUSE="static-libs"
DOCS=( AUTHORS CHANGES README README.cares RELEASE-NOTES TODO )
src_configure() {
econf \
--enable-nonblocking \
--enable-symbol-hiding \
$(use_enable static-libs static)
}
src_install() {
default
find "${ED}" -name "*.la" -exec rm {} + || die
}