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

Diff of /net-misc/curl/curl-7.21.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.13
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/Attic/curl-7.21.4.ebuild,v 1.2 2011/02/20 13:19:17 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/Attic/curl-7.21.4.ebuild,v 1.13 2012/01/26 19:20:26 vapier Exp $
4 4
5# NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl! 5# NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl!
6 6
7EAPI=4 7EAPI=4
8 8
12HOMEPAGE="http://curl.haxx.se/" 12HOMEPAGE="http://curl.haxx.se/"
13SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2" 13SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2"
14 14
15LICENSE="MIT" 15LICENSE="MIT"
16SLOT="0" 16SLOT="0"
17KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" 17KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
18IUSE="ares gnutls idn ipv6 kerberos ldap libssh2 nss ssl static-libs test threads" 18IUSE="ares gnutls idn ipv6 kerberos ldap nss ssh ssl static-libs test threads"
19 19
20RDEPEND="ldap? ( net-nds/openldap ) 20RDEPEND="ldap? ( net-nds/openldap )
21 ssl? ( 21 ssl? (
22 gnutls? ( net-libs/gnutls dev-libs/libgcrypt app-misc/ca-certificates ) 22 gnutls? ( net-libs/gnutls dev-libs/libgcrypt app-misc/ca-certificates )
23 nss? ( !gnutls? ( dev-libs/nss app-misc/ca-certificates ) ) 23 nss? ( !gnutls? ( dev-libs/nss app-misc/ca-certificates ) )
24 !gnutls? ( !nss? ( dev-libs/openssl ) ) 24 !gnutls? ( !nss? ( dev-libs/openssl ) )
25 ) 25 )
26 idn? ( net-dns/libidn ) 26 idn? ( net-dns/libidn )
27 ares? ( >=net-dns/c-ares-1.4.0 ) 27 ares? ( >=net-dns/c-ares-1.4.0 )
28 kerberos? ( virtual/krb5 ) 28 kerberos? ( virtual/krb5 )
29 libssh2? ( >=net-libs/libssh2-0.16 )" 29 ssh? ( >=net-libs/libssh2-0.16 )"
30 30
31# rtmpdump ( media-video/rtmpdump ) / --with-librtmp 31# rtmpdump ( media-video/rtmpdump ) / --with-librtmp
32# fbopenssl (not in gentoo) --with-spnego 32# fbopenssl (not in gentoo) --with-spnego
33# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html 33# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html
34 34
35DEPEND="${RDEPEND} 35DEPEND="${RDEPEND}
36 dev-util/pkgconfig
36 test? ( 37 test? (
37 sys-apps/diffutils 38 sys-apps/diffutils
38 dev-lang/perl 39 dev-lang/perl
39 )" 40 )"
40# used - but can do without in self test: net-misc/stunnel 41# used - but can do without in self test: net-misc/stunnel
41 42
42# ares must be disabled for threads and both can be disabled 43# ares must be disabled for threads and both can be disabled
43# one can use wether gnutls or nss if ssl is enabled 44# one can use wether gnutls or nss if ssl is enabled
44REQUIRED_USE="^^ ( ares threads ( !ares !threads ) ) 45REQUIRED_USE="threads? ( !ares )
45 gnutls? ( ssl ) 46 gnutls? ( ssl )
46 nss? ( ssl )" 47 nss? ( ssl )"
47 48
48src_prepare() { 49src_prepare() {
49 epatch "${FILESDIR}"/${PN}-7.20.0-strip-ldflags.patch \ 50 epatch "${FILESDIR}"/${PN}-7.20.0-strip-ldflags.patch \
60 61
61 myconf="$(use_enable ldap) 62 myconf="$(use_enable ldap)
62 $(use_enable ldap ldaps) 63 $(use_enable ldap ldaps)
63 $(use_with idn libidn) 64 $(use_with idn libidn)
64 $(use_with kerberos gssapi "${EPREFIX}"/usr) 65 $(use_with kerberos gssapi "${EPREFIX}"/usr)
65 $(use_with libssh2) 66 $(use_with ssh libssh2)
66 $(use_enable static-libs static) 67 $(use_enable static-libs static)
67 $(use_enable ipv6) 68 $(use_enable ipv6)
68 $(use_enable threads threaded-resolver) 69 $(use_enable threads threaded-resolver)
69 $(use_enable ares) 70 $(use_enable ares)
70 --enable-http 71 --enable-http

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20