homebrew-core/Formula/ruby-build.rb
Erik Michaels-Ober e90ab8ddd7 ruby-build 20140702
Closes Homebrew/homebrew#30609.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-07-02 10:11:51 +01:00

21 lines
557 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"
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