Skip to content

Commit

Permalink
g2 1.0
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#19552.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
Olivier Refalo authored and adamv committed Aug 5, 2013
1 parent f995c58 commit 8df5e1f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Formula/g2.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8df5e1f

Please sign in to comment.