24 lines
960 B
Ruby
24 lines
960 B
Ruby
class Fping < Formula
|
|
desc "Scriptable ping program for checking if multiple hosts are up"
|
|
homepage "http://fping.org/"
|
|
url "http://fping.org/dist/fping-3.10.tar.gz"
|
|
mirror "https://mirrors.kernel.org/debian/pool/main/f/fping/fping_3.10.orig.tar.gz"
|
|
sha256 "cd47e842f32fe6aa72369d8a0e3545f7c137bb019e66f47379dc70febad357d8"
|
|
|
|
head "https://github.com/schweikert/fping.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "5acae93b5ae34fe14b62a8b432cf49fff4a67ccfe3d4b1795730d055df72b2bc" => :el_capitan
|
|
sha256 "e1fe3659afb3979ddceb3015297cdfe84637d1d303508376294a311b85540f0a" => :yosemite
|
|
sha256 "c8a38daff4c51ffbfa0c76a75e84b574f1dc5e302c24edfc43336c3c6a70338a" => :mavericks
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--sbindir=#{bin}",
|
|
"--enable-ipv6"
|
|
system "make", "install"
|
|
end
|
|
end
|