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.
13 lines
304 B
Ruby
13 lines
304 B
Ruby
require 'formula'
|
|
|
|
class Node <Formula
|
|
url 'http://s3.amazonaws.com/four.livejournal/20091009/node-v0.1.14.tar.gz'
|
|
homepage 'http://nodejs.org/'
|
|
md5 '7f73e4ca88ded4a9b102fdd4f6d18adf'
|
|
|
|
def install
|
|
ENV.gcc_4_2
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|