/[gentoo-x86]/net-dns/c-ares/c-ares-1.3.1.ebuild
Gentoo

Contents of /net-dns/c-ares/c-ares-1.3.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jul 18 09:58:34 2006 UTC (13 years, 7 months ago) by jer
Branch: MAIN
Changes since 1.1: +2 -2 lines
Stable on HPPA (bug #140068).
(Portage version: 2.1.1_pre3-r1)

1 # Copyright 1999-2006 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.3.1.ebuild,v 1.1 2006/07/12 02:37:48 dragonheart Exp $
4
5 DESCRIPTION="C library that resolves names asynchronously"
6 HOMEPAGE="http://daniel.haxx.se/projects/c-ares/"
7 SRC_URI="http://daniel.haxx.se/projects/c-ares/${P}.tar.gz"
8
9 LICENSE="MIT"
10 SLOT="0"
11 KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
12 IUSE=""
13
14 DEPEND=""
15
16 src_compile() {
17 econf --enable-shared || die
18 emake || die
19 }
20
21 src_install() {
22 make DESTDIR="${D}" install || die
23 dodoc CHANGES NEWS README*
24 }
25 pkg_postinst() {
26 if [[ -e "${ROOT}"/usr/lib/libcares.so.0 ]] ; then
27 ewarn
28 ewarn "Please run: revdep-rebuild --library libcares.so.0"
29 ewarn
30 fi
31 }

  ViewVC Help
Powered by ViewVC 1.1.20