diff options
| author | Adam Vandenberg | 2012-03-11 13:08:40 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-03-11 13:08:40 -0700 |
| commit | 3a8141d71cfb6d6719165cd7392ef06b4158fc73 (patch) | |
| tree | edb50c9d9b28ccfa5261346eb9e574a743326fd0 /Library/Formula/gource.rb | |
| parent | 2e1a555a0d8c9222d8060965daaaa8654541e730 (diff) | |
| download | homebrew-3a8141d71cfb6d6719165cd7392ef06b4158fc73.tar.bz2 | |
gource: use a stable tarball
Diffstat (limited to 'Library/Formula/gource.rb')
| -rw-r--r-- | Library/Formula/gource.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Library/Formula/gource.rb b/Library/Formula/gource.rb index c4dfaedd9..7126a5657 100644 --- a/Library/Formula/gource.rb +++ b/Library/Formula/gource.rb @@ -2,8 +2,8 @@ require 'formula' class Gource < Formula homepage 'http://code.google.com/p/gource/' - url 'https://github.com/acaudwell/Gource.git', :tag => "gource-0.37" - version "0.37" + url 'http://gource.googlecode.com/files/gource-0.37.tar.gz' + sha1 '87d88b5cbf312e160e55582f8e187c87b3df097d' head 'https://github.com/acaudwell/Gource.git' depends_on 'pkg-config' => :build @@ -13,8 +13,7 @@ class Gource < Formula depends_on 'pcre' depends_on 'glew' - if MacOS.xcode_version >= "4.3" - # download a tarball with configure and remove the need for these! + if ARGV.build_head? and MacOS.xcode_version >= "4.3" depends_on "automake" => :build depends_on "libtool" => :build end @@ -25,7 +24,7 @@ class Gource < Formula # For non-/usr/local installs ENV.append "CXXFLAGS", "-I#{HOMEBREW_PREFIX}/include" - system "autoreconf -f -i" + system "autoreconf -f -i" if ARGV.build_head? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", |
