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-05-10 16:50:59 +00:00
|
|
|
url 'http://jonas.nitro.dk/tig/releases/tig-1.0.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '3fe744f79d244285b6e00b472e35967746910305'
|
2009-08-01 04:39:48 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-17 07:15:50 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--sysconfdir=#{etc}"
|
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
|