homebrew-core/Formula/ruby-build.rb
Mislav Marohnić 914796de1a ruby-build 20151216
Closes Homebrew/homebrew#47068.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-12-16 17:32:46 +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/v20151216.tar.gz"
sha256 "90e63530134ff47a981d5875f8716ccfa5a235251231e7359bd2b8c147c335c1"
bottle :unneeded
head "https://github.com/rbenv/ruby-build.git"
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