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

Contents of /net-misc/wget/wget-1.8.2-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (show annotations) (download)
Tue Nov 18 07:06:30 2003 UTC (15 years, 10 months ago) by gregf
Branch: MAIN
Changes since 1.15: +2 -2 lines
marked stable

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.8.2-r2.ebuild,v 1.15 2003/11/18 06:38:16 gregf Exp $
4
5 inherit gnuconfig
6
7 IUSE="ssl nls static 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
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="x86 ppc sparc alpha hppa arm mips amd64 ia64"
17
18 RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )"
19 DEPEND="nls? sys-devel/autoconf ( sys-devel/gettext )"
20
21
22 src_unpack() {
23 unpack ${P}.tar.gz
24 epatch ${DISTDIR}/${P}+ipvmisc.patch
25 }
26
27 src_compile() {
28 # Make wget use up-to-date configure scripts
29 gnuconfig_update
30
31 local myconf
32 use ssl \
33 && myconf="${myconf} --with-ssl" \
34 || myconf="${myconf} --without-ssl --disable-opie --disable-digest"
35
36 use ssl && CFLAGS="${CFLAGS} -I/usr/include/openssl"
37
38 econf \
39 --sysconfdir=/etc/wget \
40 `use_enable nls` \
41 `use_enable debug` \
42 `use_with socks5 socks` \
43 ${myconf} || die
44
45 if use static; then
46 emake LDFLAGS="--static" || die
47 else
48 emake || die
49 fi
50 }
51
52 src_install() {
53 if use build; then
54 insinto /usr
55 dobin ${S}/src/wget
56 return
57 fi
58 make prefix=${D}/usr sysconfdir=${D}/etc/wget \
59 mandir=${D}/usr/share/man infodir=${D}/usr/share/info install || die
60 dodoc AUTHORS COPYING ChangeLog MACHINES MAILING-LIST NEWS README TODO
61 dodoc doc/sample.wgetrc
62 }

  ViewVC Help
Powered by ViewVC 1.1.20