homebrew-core/Formula/fping.rb
Brett Koonce 6cc91fa2b2 fping 3.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-21 08:29:13 -07:00

22 lines
510 B
Ruby

require 'formula'
class Fping < Formula
homepage 'http://fping.org/'
url 'http://fping.org/dist/fping-3.4.tar.gz'
sha1 '52e13afb2e6a27ec8ec69e6e10f103c4a7a1afe7'
head 'https://github.com/schweikert/fping.git'
def install
system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking'
system "make install"
end
def caveats; <<-EOS.undent
fping can only be run by root by default so either use sudo to run fping or
setuid root #{sbin}/fping
EOS
end
end