2010-02-05 10:18:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class GitMultipush < Formula
|
2010-02-05 10:18:44 +00:00
|
|
|
homepage 'http://code.google.com/p/git-multipush/'
|
2012-02-29 00:34:06 +00:00
|
|
|
url 'http://git-multipush.googlecode.com/files/git-multipush-2.3.tar.bz2'
|
2011-09-27 23:37:36 +00:00
|
|
|
sha1 'a53f171af5e794afe9b1de6ccd9bd0661db6fd91'
|
2012-02-29 00:34:06 +00:00
|
|
|
|
2011-09-27 23:37:36 +00:00
|
|
|
head 'https://github.com/gavinbeatty/git-multipush.git', :sha => 'HEAD'
|
2010-02-05 10:18:44 +00:00
|
|
|
|
2011-09-27 23:37:36 +00:00
|
|
|
depends_on 'asciidoc' => :build if ARGV.build_head?
|
2010-02-05 10:18:44 +00:00
|
|
|
|
|
|
|
def install
|
2011-09-27 23:37:36 +00:00
|
|
|
if ARGV.build_head?
|
|
|
|
inreplace 'make/gen-version.mk', '.git', '$(GIT_DIR)'
|
|
|
|
system "make"
|
|
|
|
end
|
2010-02-05 10:18:44 +00:00
|
|
|
system "make", "prefix=#{prefix}", "install"
|
|
|
|
end
|
|
|
|
end
|