summaryrefslogtreecommitdiff
blob: da7d7a5eb9210f6f5d1620022c827f9146beab03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/curl/curl-7.10.2.ebuild,v 1.10 2003/09/07 00:12:23 msterret Exp $

DESCRIPTION="A Client that groks URLs"
SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2"
HOMEPAGE="http://curl.haxx.se/"

SLOT="0"
LICENSE="MIT X11"
KEYWORDS="x86 ppc sparc alpha hppa"
IUSE="ssl ipv6 ldap"

DEPEND=">=sys-libs/pam-0.75
	ssl? ( >=dev-libs/openssl-0.9.6a )"

src_compile() {
	local myconf="--with-gnu-ld --enable-http --enable-ftp --enable-gopher --enable-file \
			--enable-dict --enable-telnet --enable-nonblocking"
	use ipv6	&& myconf="${myconf} --enable-ipv6"
	use ldap	&& myconf="${myconf} --enable-ldap"
	use ssl		&& myconf="${myconf} --with-ssl"

	econf ${myconf}
	emake || die
}

src_install() {
	make install DESTDIR=${D} || die
	dodoc LEGAL CHANGES README
	dodoc docs/FEATURES docs/INSTALL docs/INTERNALS docs/LIBCURL
	dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE
}