3f6b8576d6
Closes Homebrew/homebrew#39908. Signed-off-by: Xu Cheng <xucheng@me.com>
22 lines
584 B
Ruby
22 lines
584 B
Ruby
require "formula"
|
|
|
|
class RubyBuild < Formula
|
|
homepage "https://github.com/sstephenson/ruby-build"
|
|
url "https://github.com/sstephenson/ruby-build/archive/v20150519.tar.gz"
|
|
sha256 "2c1403c8577987b1b161d8fce3e30fd88cfc6f9d553a34cf45a23dd1e33c3c72"
|
|
|
|
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", "--version"
|
|
end
|
|
end
|