2011-07-19 09:48:28 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class NagiosPlugins < Formula
|
|
|
|
url 'http://downloads.sourceforge.net/project/nagiosplug/nagiosplug/1.4.15/nagios-plugins-1.4.15.tar.gz'
|
|
|
|
homepage 'http://nagiosplugins.org/'
|
|
|
|
md5 '56abd6ade8aa860b38c4ca4a6ac5ab0d'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2012-05-10 10:50:53 +00:00
|
|
|
"--libexecdir=#{sbin}"
|
2011-07-19 09:48:28 +00:00
|
|
|
system "make install"
|
2011-11-22 22:11:39 +00:00
|
|
|
system "make install-root"
|
2011-07-19 09:48:28 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def caveats
|
|
|
|
<<-EOS.undent
|
2012-05-10 10:50:53 +00:00
|
|
|
All plugins have been installed in:
|
|
|
|
#{HOMEBREW_PREFIX}/sbin
|
2011-07-19 09:48:28 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|