homebrew-core/Formula/libgit2.rb
Josh Goodson 3c05d724f1 libgit2 0.20.0
Closes Homebrew/homebrew#24716.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-11-27 19:13:32 -06:00

20 lines
496 B
Ruby

require 'formula'
class Libgit2 < Formula
homepage 'http://libgit2.github.com/'
url 'https://github.com/libgit2/libgit2/archive/v0.20.0.tar.gz'
sha1 '811bbe4fe4fc83236ba42d23e3b449f1b95b4bab'
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