Skip to content

Commit

Permalink
wget2 1.99.1
Browse files Browse the repository at this point in the history
GNU Wget2 is the successor of GNU Wget, a file and recursive website downloader.

Designed and written from scratch it wraps around libwget, that provides the basic functions needed by a web client.

Wget2 works multi-threaded and uses many features to allow fast operation.

In many cases Wget2 downloads much faster than Wget1.x due to HTTP zlib compression, parallel connections and use of If-Modified-Since HTTP header.
  • Loading branch information
Jakob Stoeck committed Feb 9, 2019
1 parent da249b3 commit f530ee4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Formula/wget2.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
class Wget2 < Formula
desc "Multithreaded metalink/file/website downloader"
homepage "https://gitlab.com/gnuwget/wget2/"
url "https://alpha.gnu.org/gnu/wget/wget2-1.99.1.tar.gz"
sha256 "8d9b0b0897ff9623169db47c656d09007677f8d51de5f5cd3652258aab8b4dde"

depends_on "gettext"
depends_on "gnutls"
depends_on "gpgme"
depends_on "libpsl"
depends_on "nghttp2"

def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end

test do
system bin/"wget2", "-O", "/dev/null", "https://www.example.org/"
end
end

0 comments on commit f530ee4

Please sign in to comment.