/[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.4 - (hide annotations) (download)
Mon May 16 20:27:30 2005 UTC (14 years, 5 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
remove cruft ebuild
(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 seemant 1.4 # $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.9.1-r4.ebuild,v 1.3 2005/05/16 19:00:04 seemant Exp $
4 seemant 1.1
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 seemant 1.3 mirror://gentoo/${P}-gentoo-${PATCHVER}.tar.bz2"
14 seemant 1.1
15     LICENSE="GPL-2"
16     SLOT="0"
17 seemant 1.2 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~ppc-macos ~s390 ~sh
18     ~sparc ~x86"
19 seemant 1.1
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