diff options
| author | Mike Enriquez | 2009-09-13 12:59:04 -0400 | 
|---|---|---|
| committer | Max Howell | 2009-09-18 13:37:14 +0100 | 
| commit | 25ae1595a856e6295d3485bc910dcbfa42bac2f8 (patch) | |
| tree | e29eae7fa07ee07cf319be3045084a2d3ce95e0a | |
| parent | 67ca6d650d651c013a42797fb69deeff2b8872c5 (diff) | |
| download | homebrew-25ae1595a856e6295d3485bc910dcbfa42bac2f8.tar.bz2 | |
Ruby 64-bit formula
Signed-off-by: Max Howell <max@methylblue.com>
I adapted our existing ruby formula using the best bits of them both.
| -rw-r--r-- | Library/Formula/ruby.rb | 17 | 
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  | 
