Files
tigerbrew/Library/Formula/ruby-build.rb
T
Mislav Marohnić dac16f012e ruby-build 20131028
Closes #23685.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-10-27 18:14:01 -07:00

22 lines
518 B
Ruby

require 'formula'
class RubyBuild < Formula
homepage 'https://github.com/sstephenson/ruby-build'
url 'https://github.com/sstephenson/ruby-build/archive/v20131028.tar.gz'
sha1 '4fa33cbcc5f84f2e7b4ec160fb3fd5119ad11404'
head 'https://github.com/sstephenson/ruby-build.git'
depends_on 'autoconf' => :recommended
depends_on 'pkg-config' => :recommended
def install
ENV['PREFIX'] = prefix
system "./install.sh"
end
test do
system "#{bin}/ruby-build --version | grep #{version}"
end
end