Files
tigerbrew/Library/Formula/libgit2.rb
T
2012-05-22 22:22:00 -05:00

21 lines
475 B
Ruby

require 'formula'
class Libgit2 < Formula
homepage 'http://libgit2.github.com/'
url 'https://github.com/libgit2/libgit2/tarball/v0.16.0'
md5 'd75d4c2b0773abf2676f06dabdf5f31f'
head 'https://github.com/libgit2/libgit2.git', :branch => 'master'
depends_on 'cmake' => :build
def install
mkdir 'build' do
system "cmake", "..",
"-DBUILD_TESTS=NO",
*std_cmake_args
system "make install"
end
end
end