14a113c76c
Closes Homebrew/homebrew#13873. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
18 lines
470 B
Ruby
18 lines
470 B
Ruby
require 'formula'
|
|
|
|
class Monit < Formula
|
|
homepage 'http://mmonit.com/monit/'
|
|
url 'http://mmonit.com/monit/dist/monit-5.4.tar.gz'
|
|
sha256 '805c6545de2dd7f3d9e6e0c68018b2aadd5fc98b243c8868178f247a60906038'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--localstatedir=#{var}/monit",
|
|
"--sysconfdir=#{etc}/monit"
|
|
system "make install"
|
|
end
|
|
|
|
def test
|
|
system "#{bin}/monit", "-h"
|
|
end
|
|
end
|