3ed79f76b3
Closes Homebrew/homebrew#24605. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
23 lines
611 B
Ruby
23 lines
611 B
Ruby
require 'formula'
|
|
|
|
class RubyBuild < Formula
|
|
homepage 'https://github.com/sstephenson/ruby-build'
|
|
url 'https://github.com/sstephenson/ruby-build/archive/v20131122.1.tar.gz'
|
|
sha1 '9ee2cf3a64d08e25c13e0d799ff689a997361328'
|
|
|
|
head 'https://github.com/sstephenson/ruby-build.git'
|
|
|
|
depends_on 'autoconf' => [:recommended, :run]
|
|
depends_on 'pkg-config' => [:recommended, :run]
|
|
depends_on 'libyaml' => :recommended
|
|
depends_on 'openssl' => :optional
|
|
|
|
def install
|
|
ENV['PREFIX'] = prefix
|
|
system "./install.sh"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/ruby-build --version | grep #{version}"
|
|
end
|
|
end
|