git 1.7.10.3

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-05-25 23:23:57 -05:00
parent 994eea4459
commit 425c7e1eb1

View file

@ -1,19 +1,19 @@
require 'formula'
class GitManuals < Formula
url 'http://git-core.googlecode.com/files/git-manpages-1.7.10.2.tar.gz'
sha1 '6cc3f80185bdd1a608cf373b05313b2adc82b898'
url 'http://git-core.googlecode.com/files/git-manpages-1.7.10.3.tar.gz'
sha1 '4ae4f9f0f0dc42ad5cb2de309049c953841bc413'
end
class GitHtmldocs < Formula
url 'http://git-core.googlecode.com/files/git-htmldocs-1.7.10.2.tar.gz'
sha1 '004a2bf989b935657e2e1e6000a748d83657649f'
url 'http://git-core.googlecode.com/files/git-htmldocs-1.7.10.3.tar.gz'
sha1 'c75f9dd4e5157b0c0cb53d67a599b1b038b9c708'
end
class Git < Formula
homepage 'http://git-scm.com'
url 'http://git-core.googlecode.com/files/git-1.7.10.2.tar.gz'
sha1 'e4b7f746ff4e356baaddcad0b2911376efde031b'
url 'http://git-core.googlecode.com/files/git-1.7.10.3.tar.gz'
sha1 '172c6ad5a55276213c5e40b83a4c270f6f931b3e'
head 'https://github.com/git/git.git'
@ -37,7 +37,7 @@ class Git < Formula
ENV['PYTHON_PATH'] = which 'python' # python can be brewed or unbrewed
# Clean XCode 4.x installs don't include Perl MakeMaker
ENV['NO_PERL_MAKEMAKER']='1' if MacOS.lion?
ENV['NO_PERL_MAKEMAKER'] = '1' if MacOS.lion?
ENV['BLK_SHA1'] = '1' if ARGV.include? '--with-blk-sha1'
@ -54,7 +54,9 @@ class Git < Formula
# Install the OS X keychain credential helper
cd 'contrib/credential/osxkeychain' do
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
system "make", "CC=#{ENV.cc}",
"CFLAGS=#{ENV.cflags}",
"LDFLAGS=#{ENV.ldflags}"
bin.install 'git-credential-osxkeychain'
system "make", "clean"
end