homebrew-core/Formula/nagios-plugins.rb
henningkessler 6bde78234a nagios-plugins 2.0.1
Closes Homebrew/homebrew#29199.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-12 10:33:40 -07:00

23 lines
618 B
Ruby

require 'formula'
class NagiosPlugins < Formula
homepage 'https://www.nagios-plugins.org/'
url 'https://www.nagios-plugins.org/download/nagios-plugins-2.0.tar.gz'
sha1 '9b9be0dfb7026d30da0e3a5bbf4040211648ee39'
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