1ac9e40c8c
Closes Homebrew/homebrew#48776. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
23 lines
630 B
Ruby
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/v20160130.tar.gz"
|
|
sha256 "9f64d81252a08ad95a6e3a66c07e0f3be127a70a742da526bdf42b501304b547"
|
|
|
|
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
|