aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/node.rb')
-rw-r--r--Library/Formula/node.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
new file mode 100644
index 000000000..660f5fa80
--- /dev/null
+++ b/Library/Formula/node.rb
@@ -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