homebrew-core/Formula/ruby-build.rb
Mislav Marohnić baee9b69b4 ruby-build 20160228
Closes Homebrew/homebrew#49614.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-28 19:09:54 +00:00

23 lines
630 B
Ruby

class RubyBuild < Formula
desc "Install various Ruby versions and implementations"
homepage "https://github.com/rbenv/ruby-build"
url "https://github.com/rbenv/ruby-build/archive/v20160228.tar.gz"
sha256 "ee819bfc7f7cfff41e077c05ba8e7e9e813c8c7f1e4af79be8775df3d41c0685"
head "https://github.com/rbenv/ruby-build.git"
bottle :unneeded
depends_on "autoconf" => [:recommended, :run]
depends_on "pkg-config" => [:recommended, :run]
depends_on "openssl" => :recommended
def install
ENV["PREFIX"] = prefix
system "./install.sh"
end
test do
system "#{bin}/ruby-build", "--definitions"
end
end