homebrew-core/Formula/ruby-build.rb
Dominyk Tiller a2bafa27f8 openssl: disable SSLv2 support.
Kills ssl2 from OpenSSL. This PR relates to Homebrew/homebrew#31745. Force recompiles
everything that relies on OpenSSL from the master branch to enforce the
new OpenSSL no-ssl2 rule.
2014-08-24 17:13:48 +01:00

22 lines
570 B
Ruby

require "formula"
class RubyBuild < Formula
head "https://github.com/sstephenson/ruby-build.git"
homepage "https://github.com/sstephenson/ruby-build"
url "https://github.com/sstephenson/ruby-build/archive/v20140702.tar.gz"
sha1 "3b609d6375f1ddcc519c5854ffbb947d3f32ea4e"
revision 1
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