homebrew-core/Formula/libgit2.rb
Eric Phetteplace 0c0c471f0d fix libgit2 home page 404
Closes Homebrew/homebrew#21372.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-21 16:36:19 -07:00

20 lines
496 B
Ruby

require 'formula'
class Libgit2 < Formula
homepage 'http://libgit2.github.com/'
url 'https://github.com/libgit2/libgit2/archive/v0.19.0.tar.gz'
sha1 '72cc461d366c5ace3385470a1f209ff84d0a4bb3'
head 'https://github.com/libgit2/libgit2.git', :branch => 'development'
depends_on 'cmake' => :build
def install
mkdir 'build' do
system "cmake", "..",
"-DBUILD_TESTS=NO",
*std_cmake_args
system "make install"
end
end
end