Ruby 1.9.1 formula

master
Clinton R. Nixon 2009-09-07 00:08:00 -04:00 committed by Max Howell
parent 0d0aefb87e
commit 4f0d14b994
1 changed files with 22 additions and 0 deletions

22
Formula/ruby.rb Normal file
View File

@ -0,0 +1,22 @@
require 'brewkit'
# TODO deversion 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'
@md5='515bfd965814e718c0943abf3dde5494'
def install
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
end
def skip_clean? path
# TODO only skip the clean for the files that need it, we didn't even get
# a comment about why we're skipping the clean, so you'll need to figure
# that out too --mxcl
true
end
end