/[gentoo-x86]/net-misc/wget/wget-1.9.1-r4.ebuild
Gentoo

Contents of /net-misc/wget/wget-1.9.1-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue May 10 15:56:47 2005 UTC (14 years, 5 months ago) by seemant
Branch: MAIN
revision bump which now adds patches from mandrake's source rpm to handle large files properly and other misc. fixes: french and german translations; proper handling of username/passwords in urls; spelling referrer correctly, printing out the percentage in the output, removing rpath from the binary, and finally in wgetrc: passive ftp is the default (closing bug #89814 by Tor Klingberg <tor.klingberg@gmx.net>), and the references to /usr/local/etc now point to /etc instead
(Portage version: 2.0.51.21-r1)

1 seemant 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.9.1-r3.ebuild,v 1.13 2005/05/10 13:51:20 seemant Exp $
4    
5     inherit gnuconfig eutils flag-o-matic
6    
7     IUSE="build debug ipv6 nls socks5 ssl static"
8    
9     PATCHVER=0.2
10     DESCRIPTION="Network utility to retrieve files from the WWW"
11     HOMEPAGE="http://wget.sunsite.dk/"
12     SRC_URI="mirror://gnu/wget/${P}.tar.gz
13     mirror://gentoo/${P}-gentoo-${PATCHVER}.tar.bz2
14     http://dev.gentoo.org/~seemant/distfiles/${P}-gentoo-${PATCHVER}.tar.bz2"
15    
16     LICENSE="GPL-2"
17     SLOT="0"
18     KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 ppc-macos s390 sh sparc x86"
19    
20     RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )
21     socks5? ( net-proxy/dante )"
22    
23     DEPEND="${RDEPEND}
24     nls? ( sys-devel/gettext )
25     sys-devel/autoconf"
26    
27    
28     PATCHDIR="${WORKDIR}/patches"
29    
30     src_unpack() {
31     unpack ${A} ; cd ${S}
32     EPATCH_SUFFIX="patch" epatch ${PATCHDIR}/gentoo
33     EPATCH_SUFFIX="patch" epatch ${PATCHDIR}/mandrake
34     }
35    
36     src_compile() {
37     # Make wget use up-to-date configure scripts
38     gnuconfig_update
39    
40     use ssl && append-flags -I/usr/include/openssl
41    
42     econf \
43     --sysconfdir=/etc/wget \
44     $(use_with ssl) $(use_enable ssl opie) $(use_enable ssl digest) \
45     $(use_enable ipv6) \
46     $(use_enable nls) \
47     $(use_enable debug) \
48     $(use_with socks5 socks) \
49     || die
50    
51     if use static; then
52     emake LDFLAGS="--static" || die
53     else
54     emake || die
55     fi
56     }
57    
58     src_install() {
59     if use build; then
60     insinto /usr
61     dobin ${S}/src/wget
62     return
63     fi
64    
65     make DESTDIR=${D} install || die
66     dodoc AUTHORS COPYING ChangeLog MACHINES MAILING-LIST NEWS README TODO
67     dodoc doc/sample.wgetrc
68     }

  ViewVC Help
Powered by ViewVC 1.1.20