homebrew-core/Formula/libgit2.rb

21 lines
495 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libgit2 < Formula
2013-04-07 02:34:41 +00:00
homepage 'http://libgit2.github.io/'
url 'https://github.com/libgit2/libgit2/archive/v0.18.0.tar.gz'
sha1 '08b6b7520580615c5549ff739ba7d0c8e3617188'
head 'https://github.com/libgit2/libgit2.git', :branch => 'development'
depends_on 'cmake' => :build
def install
2012-02-22 04:48:36 +00:00
mkdir 'build' do
system "cmake", "..",
"-DBUILD_TESTS=NO",
*std_cmake_args
system "make install"
end
end
end