blob: bf3f2cb44091b4c4f52003cb082fcae9ddb8470b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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
|