07e41d6e48
Closes #631. Signed-off-by: Andrew Janke <andrew@apjanke.net>
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/v20160426.tar.gz"
|
|
sha256 "b4916b67b581031ded136cca3ad0e0b89828743c745eb08ed6936d4eb50d31a1"
|
|
|
|
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
|