homebrew-core/Formula/libgit2.rb
2012-02-05 08:35:34 -08:00

19 lines
454 B
Ruby

require 'formula'
class Libgit2 < Formula
url 'https://github.com/libgit2/libgit2/tarball/v0.16.0'
md5 'd75d4c2b0773abf2676f06dabdf5f31f'
homepage 'http://libgit2.github.com/'
head 'https://github.com/libgit2/libgit2.git', :branch => 'master'
depends_on 'cmake' => :build
def install
mkdir 'build'
Dir.chdir 'build' do
system "cmake .. #{std_cmake_parameters} -DBUILD_TESTS=NO"
system "make install"
end
end
end