2011-03-10 05:11:03 +00:00
|
|
|
class Axel < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Light UNIX download accelerator"
|
2015-01-13 19:54:48 +00:00
|
|
|
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"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "359a57ab4e354bcb6075430d977c59d33eb3e2f1415a811948fa8ae657ca8036"
|
2009-09-25 12:25:09 +00:00
|
|
|
|
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
|
|
|
|
|
2009-09-25 12:25:09 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--debug=0", "--i18n=0"
|
|
|
|
system "make"
|
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
|