homebrew-core/Formula/libgit2.rb

21 lines
484 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libgit2 < Formula
homepage 'http://libgit2.github.com/'
2012-05-23 18:17:22 +00:00
url 'https://github.com/libgit2/libgit2/tarball/v0.17.0'
sha1 'a868978e1d322d967fb7877b757f7c6b81b37923'
2011-05-27 05:02:55 +00:00
head 'https://github.com/libgit2/libgit2.git', :branch => 'master'
depends_on 'cmake' => :build
def install
2012-02-22 04:48:36 +00:00
mkdir 'build' do
system "cmake", "..",
"-DBUILD_TESTS=NO",
*std_cmake_args
system "make install"
end
end
end