2011-03-10 05:11:03 +00:00
|
|
|
class Axel < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Light UNIX download accelerator"
|
2016-06-15 07:53:06 +00:00
|
|
|
homepage "https://github.com/eribertomota/axel"
|
|
|
|
url "https://github.com/eribertomota/axel/archive/2.11.tar.gz"
|
|
|
|
sha256 "7e528df719bad8041346a371290efd8d67959e935f6763ac977ba278d39f5a15"
|
|
|
|
head "https://github.com/eribertomota/axel.git"
|
2009-09-25 12:25:09 +00:00
|
|
|
|
2015-01-13 20:25:42 +00:00
|
|
|
bottle do
|
2016-09-13 21:29:38 +00:00
|
|
|
sha256 "4328a6116a4e5fd3f19398a256158f8623d2471a6c415fe63ba055199e724157" => :sierra
|
2016-06-15 13:50:29 +00:00
|
|
|
sha256 "0bf17ed83896ebf161419fd6a57613c023430280893dd67f7c52a879df7e26ef" => :el_capitan
|
|
|
|
sha256 "82f22d3449c483cbb5555afe13a59f7f18e604dc3cbc49550c11650c076dd7d2" => :yosemite
|
|
|
|
sha256 "2580ae99bbe1a36e5bc4630398887e29a93abeacc0d2f1acbe894539bc5ea2bf" => :mavericks
|
2015-01-13 20:25:42 +00:00
|
|
|
end
|
|
|
|
|
2016-06-15 07:53:06 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "gettext"
|
|
|
|
depends_on "openssl"
|
2016-03-17 15:33:53 +00:00
|
|
|
|
2016-06-15 07:53:06 +00:00
|
|
|
def install
|
|
|
|
system "./autogen.sh"
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--sysconfdir=#{etc}"
|
2015-01-13 19:54:48 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
filename = (testpath/"axel.tar.gz")
|
|
|
|
system bin/"axel", "-o", "axel.tar.gz", stable.url
|
|
|
|
filename.verify_checksum stable.checksum
|
|
|
|
assert File.exist?("axel.tar.gz")
|
2009-09-25 12:25:09 +00:00
|
|
|
end
|
|
|
|
end
|