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

Contents of /net-misc/wget/wget-1.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Nov 18 04:22:32 2003 UTC (15 years, 10 months ago) by gregf
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
removed 1.9

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-misc/wget/wget-1.9.ebuild,v 1.3 2003/11/11 00:05:20 gregf Exp $
4
5 inherit gnuconfig
6
7 IUSE="ssl nls static ipv6 debug socks5"
8
9 NPVER=20031022
10 DESCRIPTION="Network utility to retrieve files from the WWW"
11 HOMEPAGE="http://www.cg.tuwien.ac.at/~prikryl/wget.html"
12 SRC_URI="mirror://gnu/wget/${P}.tar.gz"
13 # doesn't look like the new percentage patch actually does anything in 1.9
14 # mirror://gentoo/wget-new-percentage-cvs-${NPVER}.tar.gz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="x86 ppc sparc alpha hppa arm mips amd64 ia64"
19
20 RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )"
21 DEPEND="nls? ( sys-devel/gettext )"
22
23 src_compile() {
24 # Make wget use up-to-date configure scripts
25 gnuconfig_update
26
27 local myconf
28 use ssl \
29 && myconf="${myconf} --with-ssl" \
30 || myconf="${myconf} --without-ssl --disable-opie --disable-digest"
31
32 use ssl && CFLAGS="${CFLAGS} -I/usr/include/openssl"
33
34 econf \
35 --sysconfdir=/etc/wget \
36 `use_enable ipv6` \
37 `use_enable nls` \
38 `use_enable debug` \
39 `use_with socks5 socks` \
40 ${myconf} || die
41
42 if use static; then
43 emake LDFLAGS="--static" || die
44 else
45 emake || die
46 fi
47 }
48
49 src_install() {
50 if use build; then
51 insinto /usr
52 dobin ${S}/src/wget
53 return
54 fi
55 make prefix=${D}/usr sysconfdir=${D}/etc/wget \
56 mandir=${D}/usr/share/man infodir=${D}/usr/share/info install || die
57 dodoc AUTHORS COPYING ChangeLog MACHINES MAILING-LIST NEWS README TODO
58 dodoc doc/sample.wgetrc
59 }

  ViewVC Help
Powered by ViewVC 1.1.20