homebrew-core/Formula/tig.rb

17 lines
440 B
Ruby
Raw Normal View History

require 'formula'
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/'
url 'http://jonas.nitro.dk/tig/releases/tig-0.18.tar.gz'
md5 '4fa9e33c5daa76b6fed11e068405356f'
def install
system "./configure", "--prefix=#{prefix}", "--sysconfdir=#{etc}"
system "make install"
system "make install-doc-man"
doc.install Dir['*.html']
2012-02-05 02:53:46 +00:00
(prefix+'etc/bash_completion.d').install 'contrib/tig-completion.bash'
end
end