1f4f70e226
Closes Homebrew/homebrew#13828. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
23 lines
645 B
Ruby
23 lines
645 B
Ruby
require 'formula'
|
|
|
|
class NagiosPlugins < Formula
|
|
homepage 'http://nagiosplugins.org/'
|
|
url 'http://downloads.sourceforge.net/project/nagiosplug/nagiosplug/1.4.16/nagios-plugins-1.4.16.tar.gz'
|
|
sha1 '52db48b15572b98c6fcd8aaec2ef4d2aad7640d3'
|
|
|
|
def install
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--libexecdir=#{sbin}"
|
|
system "make install"
|
|
system "make install-root"
|
|
end
|
|
|
|
def caveats
|
|
<<-EOS.undent
|
|
All plugins have been installed in:
|
|
#{HOMEBREW_PREFIX}/sbin
|
|
EOS
|
|
end
|
|
end
|