Files
tigerbrew/Library/Formula/ruby.rb
T
elliottcable 28b8ed2773 I can’t find an explanation of CFLAGS=-D_XOPEN_SOURCE=1, so I’m removing it.
As far as I can deduce, the source of that flag is in Dan Benjamin’s article,
here: http://hivelogic.com/articles/ruby-rails-leopard

However, he provides no explanation for its use, and did not respond to
commentors’ requests for said explanation; on top of that, I can find no useful
references anywhere else. Hence, removing it.
2009-09-22 13:18:38 -08:00

27 lines
776 B
Ruby

require 'brewkit'
# TODO de-version the include and lib directories
class Ruby <Formula
@url='ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz'
@homepage='http://www.ruby-lang.org/en/'
@md5='515bfd965814e718c0943abf3dde5494'
def install
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking",
"--enable-shared",
"--enable-pthread"
system "make"
system "make install"
end
def skip_clean? path
# TODO only skip the clean for the files that need it, we didn't get a
# comment about why we're skipping the clean, so you'll need to figure
# that out first --mxcl
true
end
end