aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/re2.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/re2.rb b/Library/Formula/re2.rb
new file mode 100644
index 000000000..b3e8f02d9
--- /dev/null
+++ b/Library/Formula/re2.rb
@@ -0,0 +1,12 @@
+require 'formula'
+
+class Re2 < Formula
+ homepage 'https://code.google.com/p/re2/'
+ head 'https://re2.googlecode.com/hg'
+ url 'https://re2.googlecode.com/files/re2-20130802.tgz'
+ sha1 'c2cf57ecd63b754da3021212198c517540276572'
+
+ def install
+ system "make", "install", "prefix=#{prefix}"
+ end
+end