aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorOlivier Refalo2013-04-30 23:44:50 -0400
committerAdam Vandenberg2013-08-05 09:51:57 -0700
commitdbdb6f256e587a2a0df24d54a54be5f63d7868fb (patch)
tree486c09affe467495166cfd0be03f9a8af0acbb2c /Library
parentc386fd42cbd3660dd7d1ff0da9099cc86b17be00 (diff)
downloadhomebrew-dbdb6f256e587a2a0df24d54a54be5f63d7868fb.tar.bz2
g2 1.0
Closes #19552. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/g2.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/g2.rb b/Library/Formula/g2.rb
new file mode 100644
index 000000000..f52bae682
--- /dev/null
+++ b/Library/Formula/g2.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class G2 < Formula
+ homepage 'http://orefalo.github.io/g2/'
+ url 'https://github.com/orefalo/g2/archive/v1.0.zip'
+ sha1 '36e03dca8d44afc1f9b16418ab0deaf093ab45c1'
+
+ head 'https://github.com/orefalo/g2.git'
+
+ def install
+ system "make", "prefix=#{prefix}", "install"
+ end
+
+ def caveats; <<-EOS.undent
+ For Bash, put something like this in your $HOME/.bashrc:
+ . #{prefix}/g2-install.sh
+ EOS
+ end
+end