homebrew-core/Formula/monit.rb

15 lines
422 B
Ruby
Raw Normal View History

require 'formula'
2009-09-17 13:52:33 +00:00
2011-03-10 05:11:03 +00:00
class Monit < Formula
2010-10-21 02:38:01 +00:00
url 'http://mmonit.com/monit/dist/monit-5.2.1.tar.gz'
2009-09-17 13:52:33 +00:00
homepage 'http://mmonit.com/monit/'
2010-10-21 02:38:01 +00:00
sha256 '31b37dd4a6f6b48e6d6926d97bfe5ad998a2a0611af0586525a5dd1b5847e41e'
2009-09-17 13:52:33 +00:00
def install
system "./configure", "--prefix=#{prefix}",
"--localstatedir=#{var}/monit",
"--sysconfdir=#{etc}/monit"
2009-09-17 13:52:33 +00:00
system "make install"
end
end