0c0c471f0d
Closes Homebrew/homebrew#21372. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
20 lines
496 B
Ruby
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
|