homebrew-core/Formula/fping.rb
Brett Koonce 3a03ad6a1f fping 3.6
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-20 10:06:55 +01:00

21 lines
534 B
Ruby

require 'formula'
class Fping < Formula
homepage 'http://fping.org/'
url 'http://fping.org/dist/fping-3.6.tar.gz'
sha1 '85aac6084d5ccef2b5a4c4eb892f891576c0c0fd'
head 'https://github.com/schweikert/fping.git'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
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