homebrew-core/Formula/ruby-build.rb
Mislav Marohnić 4279ee0c94 ruby-build 20151028
Closes Homebrew/homebrew#45418.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-28 14:06:34 +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/v20151028.tar.gz"
sha256 "3c83ae35c48869404884603b784927a8bd1d3e041c555996afb1286fc20aa708"
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