2010-11-29 19:47:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libgit2 <Formula
|
2010-12-07 08:17:16 +00:00
|
|
|
url 'https://github.com/libgit2/libgit2/tarball/v0.2.0'
|
|
|
|
md5 '753cbd61671663874d431b4292bcd4bb'
|
2010-11-29 19:47:16 +00:00
|
|
|
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
|