aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMichael Hood2014-01-09 00:46:49 -0800
committerAdam Vandenberg2014-02-07 21:19:44 -0800
commitc286e6629954fb0ea689d8050eb51924be30e366 (patch)
treeb99ee463009e2626f168703b2fe304a9c93925d0 /Library
parentcde380ccf6fdcc72de94d5b86f3b3ec79202232a (diff)
downloadhomebrew-c286e6629954fb0ea689d8050eb51924be30e366.tar.bz2
tig: add head option
Closes #25755. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/tig.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/tig.rb b/Library/Formula/tig.rb
index bce5ff103..792c1b091 100644
--- a/Library/Formula/tig.rb
+++ b/Library/Formula/tig.rb
@@ -2,6 +2,7 @@ require 'formula'
class Tig < Formula
homepage 'http://jonas.nitro.dk/tig/'
+ head 'https://github.com/jonas/tig.git'
url 'http://jonas.nitro.dk/tig/releases/tig-1.2.1.tar.gz'
sha1 '5755bae7342debf94ef33973e0eaff6207e623dc'
@@ -13,6 +14,7 @@ class Tig < Formula
end
def install
+ system "./autogen.sh" if build.head?
system "./configure", "--prefix=#{prefix}", "--sysconfdir=#{etc}"
system "make install"
system "make install-doc-man" if build.with? "docs"