61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
14 lines
374 B
Ruby
14 lines
374 B
Ruby
require 'formula'
|
|
|
|
class RubyEnterpriseEdition <Formula
|
|
url 'http://rubyforge.org/frs/download.php/64475/ruby-enterprise-1.8.7-20090928.tar.gz'
|
|
md5 'ae00018ce89d95419dfde370fcd485ac'
|
|
homepage 'http://rubyenterpriseedition.com/'
|
|
|
|
skip_clean 'bin/ruby'
|
|
|
|
def install
|
|
ENV.gcc_4_2 # fails with LLVM
|
|
system "./installer --auto #{prefix} --no-tcmalloc"
|
|
end
|
|
end
|