aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorelliottcable2009-10-10 15:16:57 -0800
committerelliottcable2009-10-10 15:16:57 -0800
commit67051c72909ef0767e1ffdfefa82d7873b6617c2 (patch)
tree798e0751f2d53d34675cf8843609ac85bdb1f797 /Library/Formula
parenta9177d691a50c07c33036d7184c424c5928a5ea4 (diff)
downloadhomebrew-67051c72909ef0767e1ffdfefa82d7873b6617c2.tar.bz2
Added a Node.js formula.
All sorts of weirdness is fixed by setting ENV.gcc_4_2, so… that’s a must.
Diffstat (limited to 'Library/Formula')
-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