Permalink
Browse files

New Formula: Google-JS-Test

Also aliased to `gjstest`.

Closes #7862.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
  • Loading branch information...
1 parent 9e5c652 commit c4faef06894f6c626e8a920d7075d0a884ecceb2 @jacobsa jacobsa committed with Sharpie Sep 28, 2011
Showing with 21 additions and 0 deletions.
  1. +1 −0 Library/Aliases/gjstest
  2. +20 −0 Library/Formula/google-js-test.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class GoogleJsTest < Formula
+ url 'http://google-js-test.googlecode.com/files/gjstest-1.0.2.tar.bz2'
+ homepage 'http://code.google.com/p/google-js-test/'
+ sha1 'a78b478912d1f1f28f900bbab4e44a4d1a9fbcde'
+
+ 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

0 comments on commit c4faef0

Please sign in to comment.