homebrew-core/Formula/libgit2.rb
Andrew Nesbitt ac5068f233 libgit2 0.14
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-17 08:34:39 -07:00

19 lines
454 B
Ruby

require 'formula'
class Libgit2 < Formula
url 'https://github.com/libgit2/libgit2/zipball/v0.14.0'
md5 '1f43e7895d2950eb9c19b716c0694f93'
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