| 1 |
aballier |
1.2 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
angelos |
1.1 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
aballier |
1.2 |
# $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 $
|
| 4 |
angelos |
1.1 |
|
| 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 |
aballier |
1.2 |
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 |
angelos |
1.1 |
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 |
|
|
}
|