homebrew-core/Formula/libgit2.rb
Matt Blair c0efaa6af5 fix libgit2 HEAD reference
Signed-off-by: David Höppner <0xffea@gmail.com>
2011-02-10 10:36:49 +01:00

16 lines
428 B
Ruby

require 'formula'
class Libgit2 <Formula
url 'https://github.com/libgit2/libgit2/tarball/v0.3.0'
md5 'ae156dfa1db98ca046b23542e91d0f27'
homepage 'http://libgit2.github.com/'
head 'git://github.com/libgit2/libgit2.git', :branch => 'master'
def install
system "./waf", "configure", "--prefix=#{prefix}"
system "./waf", "build-static"
system "./waf", "build-shared"
system "./waf", "install"
end
end