blob: 8f4899ccc064a76a18008494a47341e1e131b8eb (
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 'https://github.com/schweikert/fping/tarball/3.1'
sha1 '1584e662ef3ba08e239e626df73ec74bc34548ee'
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
|