diff options
| author | Adam Vandenberg | 2010-03-12 20:15:58 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2010-03-12 20:15:58 -0800 |
| commit | a61db2c865a455edba4d1d967028e591b0269915 (patch) | |
| tree | fa040ea4da835c0b26ce0ea119573d7a47407508 /Library/Formula | |
| parent | 843bff9887a1b8498aacf61c7e03a08574759c99 (diff) | |
| download | homebrew-a61db2c865a455edba4d1d967028e591b0269915.tar.bz2 | |
node 0.1.32
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/node.rb | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index 0735a02f3..3b021661b 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -1,10 +1,10 @@ require 'formula' class Node <Formula - url 'http://nodejs.org/dist/node-v0.1.31.tar.gz' + url 'http://nodejs.org/dist/node-v0.1.32.tar.gz' head 'git://github.com/ry/node.git' homepage 'http://nodejs.org/' - md5 'a9e0ba08539edbdc8e5611e7550f1c47' + md5 '54f8118c3352d67bf0378941deb82be7' aka 'node.js' @@ -17,12 +17,21 @@ class Node <Formula end def install + ENV.gcc_4_2 inreplace %w{wscript configure} do |s| s.gsub! '/usr/local', HOMEBREW_PREFIX s.gsub! '/opt/local/lib', '/usr/lib' end - ENV.gcc_4_2 system "./configure", "--prefix=#{prefix}" system "make install" end + + def caveats; <<-EOS.undent + If you: + brew install rlwrap + then you can: + rlwrap node-repl + for a nicer command-line interface. + EOS + end end |
