homebrew-core/Formula/ruby-build.rb
Mislav Marohnić 54018e3905 ruby-build 20160226
Closes Homebrew/homebrew#49553.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-26 10:39:12 +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/v20160226.tar.gz"
sha256 "6c415bb1a3b3e619d434bf88c0c0fea0df1f8f5f4b166cc9103a936b6359d28a"
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