Created
August 17, 2012 08:46
-
-
Save andykram/3377097 to your computer and use it in GitHub Desktop.
GTI Homebrew Recipe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
# Documentation: https://github.com/mxcl/homebrew/wiki/Formula-Cookbook | |
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! | |
class Gti < Formula | |
homepage 'http://r-wos.org/hacks/gti' | |
url 'https://github.com/rwos/gti/tarball/master' | |
sha1 'f34d37ba4345b3b97eaa64280e6f60a6881c38d8' | |
version "0.1" | |
head 'https://github.com/rwos/gti.git' | |
def install | |
system "make", "PREFIX=#{prefix}", "CC=#{ENV.cc}" | |
bin.install("gti") | |
end | |
def test | |
# This test will fail and we won't accept that! It's enough to just replace | |
# "false" with the main program this formula installs, but it'd be nice if you | |
# were more thorough. Run the test with `brew test gti`. | |
system "false" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment