homebrew-core/Formula/monit.rb
Chris Hoffman 021ad8628f monit - Preserve state
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-23 12:04:01 -07:00

14 lines
421 B
Ruby

require 'formula'
class Monit <Formula
url 'http://mmonit.com/monit/dist/monit-5.2.1.tar.gz'
homepage 'http://mmonit.com/monit/'
sha256 '31b37dd4a6f6b48e6d6926d97bfe5ad998a2a0611af0586525a5dd1b5847e41e'
def install
system "./configure", "--prefix=#{prefix}",
"--localstatedir=#{var}/monit",
"--sysconfdir=#{etc}/monit"
system "make install"
end
end