/[gentoo-x86]/net-misc/curl/curl-7.15.4.ebuild
Gentoo

Contents of /net-misc/curl/curl-7.15.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sat Dec 9 03:30:53 2006 UTC (13 years, 1 month ago) by dragonheart
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Fixed bug #157539 thanks to Timothy - attempted installtion of non-existant files. Fixed type that ment USE=kerberos disabled the effect of other USE flags (thanks me). Version bump as per bug #154575 thanks Gerry - still masked as no compatible pycurl and all other programs not tested for compatibility
(Portage version: 2.1.2_rc2-r5)
 (Signed Manifest commit)

1 liquidx 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 dragonheart 1.3 # $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.15.4.ebuild,v 1.2 2006/10/04 17:45:59 grobian Exp $
4 liquidx 1.1
5     # NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl!
6    
7     inherit libtool eutils
8    
9     DESCRIPTION="A Client that groks URLs"
10     HOMEPAGE="http://curl.haxx.se/"
11     SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2"
12    
13     LICENSE="MIT X11"
14     SLOT="0"
15 grobian 1.2 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
16 liquidx 1.1 IUSE="ssl ipv6 ldap ares gnutls idn kerberos krb4 test"
17    
18     RDEPEND="gnutls? ( net-libs/gnutls )
19     ssl? ( !gnutls? ( dev-libs/openssl ) )
20     ldap? ( net-nds/openldap )
21     idn? ( net-dns/libidn )
22     ares? ( net-dns/c-ares )
23     kerberos? ( virtual/krb5 )
24     krb4? ( app-crypt/kth-krb )"
25    
26     DEPEND="${RDEPEND}
27     test? (
28     sys-apps/diffutils
29     dev-lang/perl
30     )"
31     # used - but can do without in self test: net-misc/stunnel
32    
33     src_unpack() {
34     unpack ${A}
35     cd "${S}"
36     epatch ${FILESDIR}/${PN}-7.15-strip-ldflags.patch
37     elibtoolize
38     }
39    
40     src_compile() {
41    
42     myconf="$(use_enable ldap)
43     $(use_with idn libidn)
44     $(use_enable kerberos gssapi)
45     $(use_enable ipv6)
46     --enable-http
47     --enable-ftp
48     --enable-gopher
49     --enable-file
50     --enable-dict
51     --enable-manual
52     --enable-telnet
53     --enable-nonblocking
54     --enable-largefile"
55    
56     if use ipv6 && use ares; then
57     ewarn "c-ares support disabled because it is incompatible with ipv6."
58     myconf="${myconf} --disable-ares"
59     else
60     myconf="${myconf} $(use_enable ares)"
61     fi
62    
63     if use ipv6 && use krb4; then
64     ewarn "kerberos-4 support disabled because it is incompatible with ipv6."
65     myconf="${myconf} --disable-krb4"
66     else
67     myconf="${myconf} $(use_enable krb4)"
68     fi
69    
70     if use gnutls; then
71     myconf="${myconf} --without-ssl --with-gnutls=/usr"
72     elif use ssl; then
73     myconf="${myconf} --without-gnutls --with-ssl=/usr"
74     else
75     myconf="${myconf} --without-gnutls --without-ssl"
76     fi
77    
78     if use kerberos; then
79     myconf="${myconfg} --with-gssapi=/usr"
80     fi
81    
82     econf ${myconf} || die 'configure failed'
83     emake || die "install failed for current version"
84     }
85    
86     src_install() {
87     make DESTDIR="${D}" install || die "installed failed for current version"
88    
89     insinto /usr/share/aclocal
90     doins docs/libcurl/libcurl.m4
91    
92     dodoc CHANGES README
93     dodoc docs/FEATURES docs/INTERNALS docs/LIBCURL
94     dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE
95     }

  ViewVC Help
Powered by ViewVC 1.1.20