homebrew-core/Formula/ruby-build.rb
Mislav Marohnić 4e51ce445e ruby-build 20151024
Closes Homebrew/homebrew#45291.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-10-24 17:16:12 +01:00

23 lines
648 B
Ruby

class RubyBuild < Formula
desc "Install various Ruby versions and implementations"
homepage "https://github.com/sstephenson/ruby-build"
url "https://github.com/sstephenson/ruby-build/archive/v20151024.tar.gz"
sha256 "8e5be61e967d9a6af84dd84f57c1e28be4cc6c1d4916e235a3393a42673618dc"
bottle :unneeded
head "https://github.com/sstephenson/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