homebrew-core/Formula/node.rb
elliottcable 462d32f916 Added a Node.js formula.
All sorts of weirdness is fixed by setting ENV.gcc_4_2, so… that’s a must.
2009-10-10 15:16:57 -08:00

13 lines
304 B
Ruby

require 'brewkit'
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