2012-08-16 00:48:02 +00:00
|
|
|
class Gti < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "ASCII-art displaying typo-corrector for commands"
|
2015-05-27 22:27:10 +00:00
|
|
|
homepage "http://r-wos.org/hacks/gti"
|
|
|
|
url "https://github.com/rwos/gti/archive/v1.2.0.tar.gz"
|
|
|
|
sha256 "e76a3d44610c1445263860391f8243cde622f58945101075f750e96d96063762"
|
2012-08-16 00:48:02 +00:00
|
|
|
|
2015-05-27 22:27:10 +00:00
|
|
|
head "https://github.com/rwos/gti.git"
|
2012-08-16 00:48:02 +00:00
|
|
|
|
2015-05-27 23:18:36 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "12a2fcc7465f9fba5cdaa92ea0af3e5ef459f42b4c5c930017fef0fb3366f121" => :yosemite
|
|
|
|
sha256 "308b88323f417d45c627add34f7b74b9f63cbc3f3065b3b3909908a3b78769cf" => :mavericks
|
|
|
|
sha256 "2e19e781ff48dee619cadbda1937d7a7a295ddbaa29af4b8881d211ea27b0c57" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2012-08-16 00:48:02 +00:00
|
|
|
def install
|
2015-05-27 22:27:10 +00:00
|
|
|
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
|
|
|
|
bin.install "gti"
|
|
|
|
man6.install "gti.6"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/gti", "init"
|
2012-08-16 00:48:02 +00:00
|
|
|
end
|
|
|
|
end
|