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

Contents of /net-misc/wget/wget-1.7-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Nov 24 18:40:50 2001 UTC (17 years, 10 months ago) by drobbins
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
removed the ultra-slow gatekeeper.dec.com mirror.  This encourages me to
rewrite the portage download code to add mirroring support

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Achim Gottinger <achim@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/net-misc/wget/wget-1.7-r1.ebuild,v 1.5 2001/08/19 05:43:20 drobbins Exp $
5
6 A="${P}.tar.gz wget-new-percentage-1.7-20010606.diff"
7 S=${WORKDIR}/${P}
8 DESCRIPTION="Network utility to retrieve files from the WWW"
9 SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/wget/${P}.tar.gz
10 ftp://prep.ai.mit.edu/gnu/wget/${P}.tar.gz
11 http://www.biscom.net/~cade/away/wget-new-percentage/wget-new-percentage-1.7-20010606.diff"
12 HOMEPAGE="http://www.cg.tuwien.ac.at/~prikryl/wget.html"
13
14 DEPEND="virtual/glibc nls? ( sys-devel/gettext )"
15
16 RDEPEND="virtual/glibc"
17
18 src_unpack() {
19 unpack ${P}.tar.gz
20 cd ${S}/src
21 patch -p0 < ${DISTDIR}/wget-new-percentage-1.7-20010606.diff
22 }
23
24 src_compile() {
25 local myconf
26 if [ -z "`use nls`" ] ; then
27 myconf="--disable-nls"
28 fi
29 # if [ "`use ssl`" ] ; then
30 # myconf="$myconf --with-ssl=/usr"
31 # fi
32 if [ -z "$DEBUG" ] ; then
33 myconf="$myconf --disable-debug"
34 fi
35 try ./configure --prefix=/usr --sysconfdir=/etc/wget \
36 --infodir=/usr/share/info --mandir=usr/share/man $myconf
37 if [ "`use static`" ] ; then
38 try make -e LDFLAGS="--static"
39 else
40 try make
41 fi
42 }
43
44 src_install() {
45 if [ "`use build`" ] || [ "`use bootcd`" ] ; then
46 insinto /usr
47 dobin ${S}/src/wget
48 return
49 fi
50
51 try make prefix=${D}/usr sysconfdir=${D}/etc/wget \
52 mandir=${D}/usr/share/man infodir=${D}/usr/share/info install
53 dodoc AUTHORS COPYING ChangeLog MACHINES MAILING-LIST NEWS README TODO
54 dodoc doc/sample.wgetrc
55 }
56
57

  ViewVC Help
Powered by ViewVC 1.1.20