diff options
author | Aron Griffis <agriffis@gentoo.org> | 2001-10-12 00:35:09 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2001-10-12 00:35:09 +0000 |
commit | 2e6dda37112669d0a9985c738d5c94d46ebbffc0 (patch) | |
tree | c417abecb178d04734629f5dbcc331114bf30efe /net-misc/wget | |
parent | Added wget-1.7-r2, which adds SSL support to wget. I put it in the (diff) | |
download | gentoo-2-2e6dda37112669d0a9985c738d5c94d46ebbffc0.tar.gz gentoo-2-2e6dda37112669d0a9985c738d5c94d46ebbffc0.tar.bz2 gentoo-2-2e6dda37112669d0a9985c738d5c94d46ebbffc0.zip |
Added ssl support to wget ebuild
Diffstat (limited to 'net-misc/wget')
-rw-r--r-- | net-misc/wget/files/digest-wget-1.7-r2 | 2 | ||||
-rw-r--r-- | net-misc/wget/wget-1.7-r2.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/net-misc/wget/files/digest-wget-1.7-r2 b/net-misc/wget/files/digest-wget-1.7-r2 new file mode 100644 index 000000000000..931659a99c55 --- /dev/null +++ b/net-misc/wget/files/digest-wget-1.7-r2 @@ -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-r2.ebuild b/net-misc/wget/wget-1.7-r2.ebuild new file mode 100644 index 000000000000..a446440bdf81 --- /dev/null +++ b/net-misc/wget/wget-1.7-r2.ebuild @@ -0,0 +1,49 @@ +# 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-r2.ebuild,v 1.1 2001/10/12 00:35:09 agriffis Exp $ + +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 + nls? ( sys-devel/gettext ) + ssl? ( >=dev-libs/openssl-0.9.6b )" + +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 + use nls || myconf="--disable-nls" + use ssl && myconf="$myconf --with-ssl" + [ -z "$DEBUG" ] && myconf="$myconf --disable-debug" + ./configure --prefix=/usr --sysconfdir=/etc/wget \ + --infodir=/usr/share/info --mandir=usr/share/man $myconf || die + if use static; then + make LDFLAGS="--static" || die + else + make || die + fi +} + +src_install() { + if use build || use bootcd; then + insinto /usr + dobin ${S}/src/wget + return + fi + make prefix=${D}/usr sysconfdir=${D}/etc/wget \ + mandir=${D}/usr/share/man infodir=${D}/usr/share/info install || die + dodoc AUTHORS COPYING ChangeLog MACHINES MAILING-LIST NEWS README TODO + dodoc doc/sample.wgetrc +} |