require 'formula' class Libgit2 'master' def install system "./waf", "configure", "--prefix=#{prefix}" system "./waf", "build-static" system "./waf", "build-shared" system "./waf", "install" end end