/[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.4 - (show annotations) (download)
Thu Jul 20 20:10:58 2006 UTC (13 years, 7 months ago) by gustavoz
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable on sparc wrt #140068
(Portage version: 2.1-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.3 2006/07/20 17:53:56 corsair 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