summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/wget')
-rw-r--r--net-misc/wget/files/digest-wget-1.7-r12
-rw-r--r--net-misc/wget/wget-1.7-r1.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/net-misc/wget/files/digest-wget-1.7-r1 b/net-misc/wget/files/digest-wget-1.7-r1
new file mode 100644
index 000000000000..931659a99c55
--- /dev/null
+++ b/net-misc/wget/files/digest-wget-1.7-r1
@@ -0,0 +1,2 @@
+MD5 c911a6b937c0a18757d3211fb62831de wget-1.7.tar.gz
+MD5 89af3cfe1500f009abb40120c6b5edd6 wget-new-percentage-1.7-20010606.diff
diff --git a/net-misc/wget/wget-1.7-r1.ebuild b/net-misc/wget/wget-1.7-r1.ebuild
new file mode 100644
index 000000000000..629be84dfbcc
--- /dev/null
+++ b/net-misc/wget/wget-1.7-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.7-r1.ebuild,v 1.1 2001/07/28 15:49:20 pete Exp $
+
+A="${P}.tar.gz wget-new-percentage-1.7-20010606.diff"
+S=${WORKDIR}/${P}
+DESCRIPTION="Network utility to retrieve files from the WWW"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/wget/${P}.tar.gz
+ ftp://prep.ai.mit.edu/gnu/wget/${P}.tar.gz
+ http://www.biscom.net/~cade/away/wget-new-percentage/wget-new-percentage-1.7-20010606.diff"
+HOMEPAGE="http://www.cg.tuwien.ac.at/~prikryl/wget.html"
+
+DEPEND="virtual/glibc sys-devel/perl
+ nls? ( sys-devel/gettext )"
+
+RDEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd ${S}/src
+ patch -p0 < ${DISTDIR}/wget-new-percentage-1.7-20010606.diff
+}
+
+src_compile() {
+ local myconf
+ if [ -z "`use nls`" ] ; then
+ myconf="--disable-nls"
+ fi
+# if [ "`use ssl`" ] ; then
+# myconf="$myconf --with-ssl=/usr"
+# fi
+ if [ -z "$DEBUG" ] ; then
+ myconf="$myconf --disable-debug"
+ fi
+ try ./configure --prefix=/usr --sysconfdir=/etc/wget \
+ --infodir=/usr/share/info --mandir=usr/share/man $myconf
+ if [ "`use static`" ] ; then
+ try make -e LDFLAGS=\"--static\"
+ else
+ try make
+ fi
+}
+
+src_install() {
+
+ if [ "`use build`" ] || [ "`use bootcd`" ] ; then
+ dobin src/wget
+ else
+ try make prefix=${D}/usr sysconfdir=${D}/etc/wget \
+ mandir=${D}/usr/share/man infodir=${D}/usr/share/info install
+
+ dodoc AUTHORS COPYING ChangeLog MACHINES MAILING-LIST NEWS README TODO
+ dodoc doc/sample.wgetrc
+ fi
+}
+
+