Added a Node.js formula.

All sorts of weirdness is fixed by setting ENV.gcc_4_2, so… that’s a must.
This commit is contained in:
elliottcable committed 2009-10-10 15:16:57 -08:00
1 parent a9177d691a
commit 67051c7290
1 file changed
+13
+13
View File
@@ -0,0 +1,13 @@
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