require 'formula' class RubyBuild < Formula homepage 'https://github.com/sstephenson/ruby-build' url 'https://github.com/sstephenson/ruby-build/archive/v20130901.tar.gz' sha1 '0ade3bd4435b83d61c022c1b7cea2517032a30e2' head 'https://github.com/sstephenson/ruby-build.git' depends_on 'autoconf' => :recommended depends_on 'pkg-config' => :recommended def install ENV['PREFIX'] = prefix system "./install.sh" end end