homebrew-core/Formula/google-js-test.rb
Aaron Jacobs 5c75c1e133 google-js-test 1.0.8
Closes Homebrew/homebrew#15629.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-23 16:08:10 -07:00

29 lines
665 B
Ruby

require 'formula'
class NeedsSnowLeopard < Requirement
def message
"Google JS Test requires Mac OS X 10.6 (Snow Leopard) or newer."
end
def satisfied?
MacOS.version >= :snow_leopard
end
end
class GoogleJsTest < Formula
homepage 'http://code.google.com/p/google-js-test/'
url 'http://google-js-test.googlecode.com/files/gjstest-1.0.8.tar.bz2'
sha1 '2209dd0c700f9420e29a844920f8614e3d97156d'
depends_on NeedsSnowLeopard.new
depends_on 'gflags'
depends_on 'glog'
depends_on 'protobuf'
depends_on 're2'
depends_on 'v8'
def install
system "make", "PREFIX=#{prefix}"
system "make", "PREFIX=#{prefix}", "install"
end
end