homebrew-core/Formula/fping.rb
Brett Koonce 04be1d0880 fping 3.2
Closes Homebrew/homebrew#13962.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-05 20:35:40 -07:00

22 lines
510 B
Ruby

require 'formula'
class Fping < Formula
homepage 'http://fping.org/'
url 'http://fping.org/dist/fping-3.2.tar.gz'
sha1 'a1f8e00ecc6d5e7089748e2587713b07c7335fc1'
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