homebrew-core/Formula/node.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
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.
2009-10-15 16:48:03 +01:00

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