| 1 |
# Copyright 1999-2013 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/c-ares/c-ares-1.9.1.ebuild,v 1.10 2013/05/20 18:00:07 ago Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
DESCRIPTION="C library that resolves names asynchronously" |
| 8 |
HOMEPAGE="http://c-ares.haxx.se/" |
| 9 |
SRC_URI="http://${PN}.haxx.se/download/${P}.tar.gz" |
| 10 |
|
| 11 |
LICENSE="MIT" |
| 12 |
SLOT="0" |
| 13 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris" |
| 14 |
IUSE="static-libs" |
| 15 |
|
| 16 |
DOCS=( AUTHORS CHANGES NEWS README RELEASE-NOTES TODO ) |
| 17 |
|
| 18 |
src_configure() { |
| 19 |
econf \ |
| 20 |
--enable-nonblocking \ |
| 21 |
--enable-symbol-hiding \ |
| 22 |
$(use_enable static-libs static) |
| 23 |
} |
| 24 |
|
| 25 |
src_install() { |
| 26 |
default |
| 27 |
find "${ED}" -name "*.la" -exec rm {} + || die |
| 28 |
} |