diff options
| author | Charlie Sharpsteen | 2011-06-19 16:38:32 -0700 | 
|---|---|---|
| committer | Adam Vandenberg | 2011-06-19 17:38:17 -0700 | 
| commit | 407c552a199caea7bb573b7bef73985b52396c78 (patch) | |
| tree | 883fee611f65c8607312c8bf766afbaaa15e40dd /Library/Formula/libgit2.rb | |
| parent | 6f88f84d7948e8d477aa23b303e66493ed15daab (diff) | |
| download | homebrew-407c552a199caea7bb573b7bef73985b52396c78.tar.bz2 | |
libgit2 0.13.0
Version 0.13.0 also dropped support for the Waf buildsystem, so this update
switches to CMake
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/libgit2.rb')
| -rw-r--r-- | Library/Formula/libgit2.rb | 15 | 
1 files changed, 9 insertions, 6 deletions
diff --git a/Library/Formula/libgit2.rb b/Library/Formula/libgit2.rb index ec1530108..c2f13ec1d 100644 --- a/Library/Formula/libgit2.rb +++ b/Library/Formula/libgit2.rb @@ -1,16 +1,19 @@  require 'formula'  class Libgit2 < Formula -  url 'https://github.com/libgit2/libgit2/zipball/v0.12.0' -  md5 '70073b25de4cca873cf565f81023f426' +  url 'https://github.com/libgit2/libgit2/zipball/v0.13.0' +  md5 'd9e5bb792bc6d7aeb0c4ea90aac074e1'    homepage 'http://libgit2.github.com/'    head 'https://github.com/libgit2/libgit2.git', :branch => 'master' +  depends_on 'cmake' => :build +    def install -    system "./waf", "configure", "--prefix=#{prefix}" -    system "./waf", "build-static" -    system "./waf", "build-shared" -    system "./waf", "install" +    mkdir 'build' +    Dir.chdir 'build' do +      system "cmake .. #{std_cmake_parameters} -DBUILD_TESTS=NO" +      system "make install" +    end    end  end  | 
