homebrew-core/Formula/mon.rb

24 lines
566 B
Ruby
Raw Normal View History

require 'formula'
class Mon < Formula
homepage 'https://github.com/visionmedia/mon'
url 'https://github.com/visionmedia/mon/archive/1.2.3.tar.gz'
sha1 '9c5013332b6ecccb6368b100e6aee377e35b5bb1'
2014-02-27 08:46:56 +00:00
bottle do
cellar :any
sha1 "4279caae6fd47b43bb884787daff34a0c65c915b" => :mavericks
sha1 "07ff0b1e1cf96cd22a57c26e8b03174964fa928f" => :mountain_lion
sha1 "c0f4c73f81ceb8773a40fbb5c9385f61ce9a25be" => :lion
end
def install
2014-02-27 08:43:19 +00:00
bin.mkpath
system "make", "install", "PREFIX=#{prefix}"
end
2014-02-27 08:43:26 +00:00
test do
system bin/"mon", "-V"
2014-02-27 08:43:26 +00:00
end
end