mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-28 03:49:49 -05:00
Change path from sbin/nagios-plugins to sbin in order to avoid hacks in related formulae. Closes #12181. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
24 lines
636 B
Ruby
24 lines
636 B
Ruby
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}",
|
|
"--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
|