2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-08-01 04:39:48 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Tig < Formula
|
2009-11-21 17:53:14 +00:00
|
|
|
homepage 'http://jonas.nitro.dk/tig/'
|
2012-02-09 17:01:50 +00:00
|
|
|
url 'http://jonas.nitro.dk/tig/releases/tig-0.18.tar.gz'
|
2011-08-29 10:29:10 +00:00
|
|
|
md5 '4fa9e33c5daa76b6fed11e068405356f'
|
2009-08-01 04:39:48 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-14 21:54:56 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2009-08-01 04:39:48 +00:00
|
|
|
system "make install"
|
2010-03-11 21:30:34 +00:00
|
|
|
system "make install-doc-man"
|
2011-10-26 13:52:04 +00:00
|
|
|
|
2012-02-09 18:26:12 +00:00
|
|
|
doc.install Dir['*.html']
|
2012-02-05 02:53:46 +00:00
|
|
|
(prefix+'etc/bash_completion.d').install 'contrib/tig-completion.bash'
|
2009-08-01 04:39:48 +00:00
|
|
|
end
|
2010-06-25 13:47:14 +00:00
|
|
|
end
|