homebrew-core/Formula/ruby.rb

26 lines
730 B
Ruby
Raw Normal View History

2009-09-07 04:08:00 +00:00
require 'brewkit'
# TODO de-version the include and lib directories
2009-09-07 04:08:00 +00:00
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'
2009-09-07 04:08:00 +00:00
def install
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking",
"--enable-shared"
2009-09-07 04:08:00 +00:00
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
2009-09-07 04:08:00 +00:00
true
end
end