diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ruby-enterprise-edition.rb | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/Library/Formula/ruby-enterprise-edition.rb b/Library/Formula/ruby-enterprise-edition.rb index 7ed68acba..4bca78f39 100644 --- a/Library/Formula/ruby-enterprise-edition.rb +++ b/Library/Formula/ruby-enterprise-edition.rb @@ -1,28 +1,26 @@ require 'formula' class RubyEnterpriseEdition < Formula + homepage 'http://rubyenterpriseedition.com/' url 'http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.03.tar.gz' md5 '038604ce25349e54363c5df9cd535ec8' - homepage 'http://rubyenterpriseedition.com/' - depends_on 'readline' + skip_clean 'bin/ruby' - fails_with :llvm + option 'enable-shared', "Compile shared, but see caveats" - skip_clean 'bin/ruby' + depends_on 'readline' - def options - [['--enable-shared', "Compile shared, but see caveats."]] - end + fails_with :llvm def install readline = Formula.factory('readline').prefix - args = ['./installer', "--auto", prefix, '--no-tcmalloc'] - args << '-c' << '--enable-shared' if ARGV.include? '--enable-shared' + args = ["--auto", prefix, '--no-tcmalloc'] + args << '-c' << '--enable-shared' if build.include? 'enable-shared' # Configure will complain that this is an unknown option, but it is actually OK args << '-c' << "--with-readline-dir=#{readline}" - system *args + system './installer', *args end def caveats; <<-EOS.undent |
