homebrew-core/Formula/ruby-build.rb
Erik Michaels-Ober 979e87f0a1 ruby-build 20160330
Closes Homebrew/homebrew#50549.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2016-03-31 14:46:58 +08: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/v20160330.tar.gz"
sha256 "e6cbc01f6db45675927a4a75f3d52cd94f6f397f63dc6ddd7643a0c23c46bcab"
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