| 1 |
# Copyright 1999-2012 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.7.5.ebuild,v 1.2 2012/04/26 17:21:13 aballier 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 README README.cares 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 |
}
|