homebrew-core/Formula/axel.rb

28 lines
1 KiB
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Axel < Formula
desc "Light UNIX download accelerator"
homepage "https://packages.debian.org/sid/axel"
2015-11-01 20:28:17 +00:00
url "https://mirrors.ocf.berkeley.edu/debian/pool/main/a/axel/axel_2.4.orig.tar.gz"
mirror "https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/a/axel/axel_2.4.orig.tar.gz"
sha256 "359a57ab4e354bcb6075430d977c59d33eb3e2f1415a811948fa8ae657ca8036"
2015-01-13 20:25:42 +00:00
bottle do
2015-11-01 21:42:26 +00:00
revision 1
sha256 "0a5c877bb143d08c037650f78b29d174a83761859e27dcf097e11f8911ad8dfc" => :el_capitan
sha256 "a6adc5c5853d2ec103c090121e0c1cf9fe25726f64421633fee016fd257fc95d" => :yosemite
sha256 "4b4060a479c5a3920fa38989ac0103eb0077e4a210140fd930fac304b44a0762" => :mavericks
2015-01-13 20:25:42 +00:00
end
def install
system "./configure", "--prefix=#{prefix}", "--debug=0", "--i18n=0"
system "make"
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")
end
end