homebrew-core/Formula/mon.rb
2016-04-11 11:27:42 +08:00

22 lines
658 B
Ruby

class Mon < Formula
desc "Monitor hosts/services/whatever and alert about problems"
homepage "https://github.com/visionmedia/mon"
url "https://github.com/visionmedia/mon/archive/1.2.3.tar.gz"
sha256 "978711a1d37ede3fc5a05c778a2365ee234b196a44b6c0c69078a6c459e686ac"
bottle do
cellar :any_skip_relocation
revision 1
sha256 "4f2d05a85fac75167df3a445a0803f7d5eddb2bacf967b10738db5066955024a" => :el_capitan
sha256 "b446ffbcff634978ff036de6b5585d29e11a6b38604fa78268c7717819250a0f" => :mavericks
end
def install
bin.mkpath
system "make", "install", "PREFIX=#{prefix}"
end
test do
system bin/"mon", "-V"
end
end