aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDaniel Bingham2011-09-27 16:37:36 -0700
committerJack Nagel2011-10-03 18:47:07 -0500
commit5b60195ee3529c2caace22b56c696e246da45d0b (patch)
treeb241d2378d82835e6bf6331ba6b3b2ae20fa39a7 /Library/Formula
parent84b8dfeb185abb7eb778d6d805a0b7e493c15db0 (diff)
downloadhomebrew-5b60195ee3529c2caace22b56c696e246da45d0b.tar.bz2
git-multipush: update to 2.3 and add HEAD
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/git-multipush.rb11
1 files changed, 9 insertions, 2 deletions
diff --git a/Library/Formula/git-multipush.rb b/Library/Formula/git-multipush.rb
index a65794ff7..ea24d4333 100644
--- a/Library/Formula/git-multipush.rb
+++ b/Library/Formula/git-multipush.rb
@@ -1,14 +1,21 @@
require 'formula'
class GitMultipush < Formula
- url 'http://git-multipush.googlecode.com/files/git-multipush-1.0.tar.bz2'
+ url 'http://git-multipush.googlecode.com/files/git-multipush-2.3.tar.bz2'
homepage 'http://code.google.com/p/git-multipush/'
- md5 'ca809d24857c5abe92f870f3a4f2ebe5'
+ sha1 'a53f171af5e794afe9b1de6ccd9bd0661db6fd91'
+ head 'https://github.com/gavinbeatty/git-multipush.git', :sha => 'HEAD'
+ depends_on 'asciidoc' => :build if ARGV.build_head?
# Not depending on git because people might have it
# installed through another means
def install
+ if ARGV.build_head?
+ ENV['GIT_DIR'] = cached_download+'.git'
+ inreplace 'make/gen-version.mk', '.git', '$(GIT_DIR)'
+ system "make"
+ end
system "make", "prefix=#{prefix}", "install"
end
end