homebrew-core/Formula/mon.rb
Mike Naberezny c2965a6a8c mon: use full path of executable
Closes Homebrew/homebrew#29440.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-20 16:49:11 -07:00

23 lines
566 B
Ruby

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'
bottle do
cellar :any
sha1 "4279caae6fd47b43bb884787daff34a0c65c915b" => :mavericks
sha1 "07ff0b1e1cf96cd22a57c26e8b03174964fa928f" => :mountain_lion
sha1 "c0f4c73f81ceb8773a40fbb5c9385f61ce9a25be" => :lion
end
def install
bin.mkpath
system "make", "install", "PREFIX=#{prefix}"
end
test do
system bin/"mon", "-V"
end
end