diff options
| author | Björn Albers | 2011-07-19 11:48:28 +0200 |
|---|---|---|
| committer | Jack Nagel | 2011-11-07 13:54:42 -0600 |
| commit | 897ddea264ef32331c3e716b8232e19f1b5e3297 (patch) | |
| tree | 5cb4646364206be362fa29f16284871a6e2f2300 | |
| parent | 55cd61e97451111b74c22d24f17fd5ebaadbbf4b (diff) | |
| download | homebrew-897ddea264ef32331c3e716b8232e19f1b5e3297.tar.bz2 | |
New formula: nagios-plugins 1.4.15
New formula for the plugins of...
"The Industry Standard In IT Infrastructure Monitoring"
-- http://www.nagios.org/
Closes #6470.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/nagios-plugins.rb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Library/Formula/nagios-plugins.rb b/Library/Formula/nagios-plugins.rb new file mode 100644 index 000000000..b2b1e62db --- /dev/null +++ b/Library/Formula/nagios-plugins.rb @@ -0,0 +1,34 @@ +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 nagios_sbin; sbin+'nagios-plugins'; end + + def install + system "./configure", "--disable-debug", + "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--libexecdir=#{nagios_sbin}" + system "make install" + end + + def caveats + <<-EOS.undent + All plugins are accessible under + + #{nagios_sbin} + + and get symlinked to + + #{HOMEBREW_PREFIX}/sbin/nagios-plugins + + so that they don't appear in your search path but still can be found by + nagios across version updates. + + Please feel free to update your PATH if you want to use them standalone! + EOS + end +end |
