/[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.17 - (hide annotations) (download)
Tue Nov 18 09:23:09 2003 UTC (15 years, 10 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +1 -1 lines
FILE REMOVED
1.9-r1 WITH THE DAMNED PATCH is stable

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

  ViewVC Help
Powered by ViewVC 1.1.20