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
url 'http://mmonit.com/monit/dist/monit-5.2.5.tar.gz'
2009-09-17 13:52:33 +00:00
homepage 'http://mmonit.com/monit/'
sha256 '3c2496e9f653ff8a46b75b61126a86cb3861ad35e4eeb7379d64a0fc55c1fd8d'
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