5981f85052
When compiling ruby versions with ruby-build (and of course, rbenv) from a brand new Mountain Lion (10.8.2) setup and no other formulas, the build process fails by missing autoconf and pkg-config. Tested with ruby v2.0.0-dev and v1.9.3-p385. Thanks to Pierre Paridans. Closes Homebrew/homebrew#18016.
17 lines
435 B
Ruby
17 lines
435 B
Ruby
require 'formula'
|
|
|
|
class RubyBuild < Formula
|
|
homepage 'https://github.com/sstephenson/ruby-build'
|
|
url 'https://github.com/sstephenson/ruby-build/tarball/v20130227'
|
|
sha1 '5cdcc5552f2ffb11ea161c98250e4c6153202462'
|
|
|
|
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
|
|
end
|