homebrew-core/Formula/google-js-test.rb

21 lines
503 B
Ruby
Raw Normal View History

require 'formula'
class GoogleJsTest < Formula
url 'http://google-js-test.googlecode.com/files/gjstest-1.0.7.tar.bz2'
homepage 'http://code.google.com/p/google-js-test/'
sha1 '8580cfe9c3ed2eca6e3c076bfc321048a6e4dd64'
depends_on 'gflags'
depends_on 'glog'
depends_on 'protobuf'
depends_on 're2'
depends_on 'v8'
def install
raise 'gjstest requires Snow Leopard or above.' if MacOS.leopard?
system "make PREFIX=#{prefix}"
system "make PREFIX=#{prefix} install"
end
end