2011-09-28 05:32:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class GoogleJsTest < Formula
|
2012-01-12 06:49:59 +00:00
|
|
|
url 'http://google-js-test.googlecode.com/files/gjstest-1.0.7.tar.bz2'
|
2011-09-28 05:32:57 +00:00
|
|
|
homepage 'http://code.google.com/p/google-js-test/'
|
2012-01-12 06:49:59 +00:00
|
|
|
sha1 '8580cfe9c3ed2eca6e3c076bfc321048a6e4dd64'
|
2011-09-28 05:32:57 +00:00
|
|
|
|
|
|
|
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
|