git 1.9.0

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
master
asaph 2014-02-14 15:39:56 -08:00 committed by Mike McQuaid
parent d26beab694
commit 4a7433692f
1 changed files with 6 additions and 23 deletions

View File

@ -2,16 +2,10 @@ require 'formula'
class Git < Formula class Git < Formula
homepage 'http://git-scm.com' homepage 'http://git-scm.com'
url 'https://git-core.googlecode.com/files/git-1.8.5.5.tar.gz' url 'https://git-core.googlecode.com/files/git-1.9.0.tar.gz'
sha1 '7bb4ea883b1f8f6f7f927035f85e8e27b57e0194' sha1 'e60667fc16e5a5f1cde46616b0458cc802707743'
head 'https://github.com/git/git.git' head 'https://github.com/git/git.git'
bottle do
sha1 "582a276b608de17888da01922648522bf7a9c11a" => :mavericks
sha1 "f308b293aa5664b65c57c3b206b892537397d3b9" => :mountain_lion
sha1 "fa5f896b766bb103804800abde58e25579cf58a7" => :lion
end
option 'with-blk-sha1', 'Compile with the block-optimized SHA1 implementation' option 'with-blk-sha1', 'Compile with the block-optimized SHA1 implementation'
option 'without-completions', 'Disable bash/zsh completions from "contrib" directory' option 'without-completions', 'Disable bash/zsh completions from "contrib" directory'
option 'with-brewed-openssl', "Build with Homebrew OpenSSL instead of the system version" option 'with-brewed-openssl', "Build with Homebrew OpenSSL instead of the system version"
@ -25,24 +19,13 @@ class Git < Formula
depends_on 'go' => :build if build.with? 'persistent-https' depends_on 'go' => :build if build.with? 'persistent-https'
resource 'man' do resource 'man' do
url 'http://git-core.googlecode.com/files/git-manpages-1.8.5.5.tar.gz' url 'http://git-core.googlecode.com/files/git-manpages-1.9.0.tar.gz'
sha1 'a4a2aef1440d4751f37c65359da57c9bd51a7beb' sha1 'cff590c92b4d1c8a143c078473140b653cc5d56a'
end end
resource 'html' do resource 'html' do
url 'http://git-core.googlecode.com/files/git-htmldocs-1.8.5.5.tar.gz' url 'http://git-core.googlecode.com/files/git-htmldocs-1.9.0.tar.gz'
sha1 '39dd7979c8757d2dc4bc3aaa82741ba93557d566' sha1 '65eb3f411f4699695c7081a7c716cabb9ce23d75'
end
def patches
if MacOS.version >= :mavericks and not build.head?
# Allow using PERLLIB_EXTRA to find Subversion Perl bindings location
# in the CLT/Xcode. Should be included in Git 1.8.6.
# https://git.kernel.org/cgit/git/git.git/commit/?h=next&id=07981d
# https://git.kernel.org/cgit/git/git.git/commit/?h=next&id=0386dd
['https://git.kernel.org/cgit/git/git.git/patch/?id=07981d',
'https://git.kernel.org/cgit/git/git.git/patch/?id=0386dd']
end
end end
def install def install