aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/ruby.rb17
1 files changed, 11 insertions, 6 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb
index 7ae26e327..372e9596a 100644
--- a/Library/Formula/ruby.rb
+++ b/Library/Formula/ruby.rb
@@ -1,14 +1,19 @@
require 'brewkit'
-# TODO deversion the include and lib directories
+# 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'
- @md5='515bfd965814e718c0943abf3dde5494'
-
+ @url='ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.gz'
+ @homepage='http://www.ruby-lang.org/en/'
+ @md5='18dcdfef761a745ac7da45b61776afa5'
+
def install
- system "./configure", "--prefix=#{prefix}"
+ system "./configure", "--prefix=#{prefix}",
+ "--disable-debug",
+ "--disable-dependency-tracking",
+ "--enable-shared",
+ "--enable-pthread",
+ "CFLAGS=-D_XOPEN_SOURCE=1"
system "make"
system "make install"
end