homebrew-core/Formula/libgit2.rb
Simon Menke 7a57ba48ba Added libgit2 v0.1.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-12-03 12:47:07 -08:00

16 lines
409 B
Ruby

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