/[gentoo-x86]/net-misc/neon/neon-0.25.5.ebuild
Gentoo

Contents of /net-misc/neon/neon-0.25.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Dec 28 15:15:58 2007 UTC (11 years, 11 months ago) by hollow
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
cleanup old cruft
(Portage version: 2.1.4_rc11)

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-misc/neon/neon-0.25.5.ebuild,v 1.6 2007/08/04 12:54:17 grobian Exp $
4
5 inherit libtool
6
7 DESCRIPTION="HTTP and WebDAV client library"
8 HOMEPAGE="http://www.webdav.org/neon/"
9 SRC_URI="http://www.webdav.org/neon/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
14 IUSE="ssl zlib expat"
15 # socks5
16
17 DEPEND="expat? ( dev-libs/expat )
18 !expat? ( dev-libs/libxml2 )
19 ssl? ( >=dev-libs/openssl-0.9.6f )
20 zlib? ( sys-libs/zlib )"
21
22 # gnutls not supported yet
23 # gnutls? ( net-libs/gnutls )
24 # !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6f ) )
25
26 src_unpack() {
27 unpack ${A}
28 if [[ ${CHOST} == *-darwin* ]] ; then
29 sed -i -e "s:GXX:GCC:g" ${S}/configure || die "sed failed"
30 fi
31
32 elibtoolize
33 }
34
35 src_compile() {
36 local myc=""
37 use expat && myc="${myc} --with-expat" || myc="${myc} --with-xml2"
38
39 # if use gnutls
40 # then
41 # myc="${myc} --with-ssl=gnutls"
42 # else
43 # myc="${myc} $(use_with ssl ssl openssl)"
44 # fi
45
46 # Socks5 not quite there yet
47 # $(use_enable socks5 socks) \
48
49 econf \
50 --enable-shared \
51 --without-gssapi \
52 $(use_with zlib) \
53 $(use_with ssl) \
54 ${myc} \
55 || die "econf failed"
56 emake || die 'make failed'
57 }
58
59 src_install() {
60 make DESTDIR=${D} install || die 'install failed'
61 dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/*
62 }

  ViewVC Help
Powered by ViewVC 1.1.20