Node 0.8.0
Closes Homebrew/homebrew#13005. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
b4cfe9d18a
commit
7a721c27af
1 changed files with 2 additions and 14 deletions
|
@ -2,16 +2,11 @@ require 'formula'
|
|||
|
||||
class Node < Formula
|
||||
homepage 'http://nodejs.org/'
|
||||
url 'http://nodejs.org/dist/v0.6.19/node-v0.6.19.tar.gz'
|
||||
sha1 'f6c5cfbadff4788ac3a95f8263a0c2f4e07444b6'
|
||||
url 'http://nodejs.org/dist/v0.8.0/node-v0.8.0.tar.gz'
|
||||
sha1 '5171fb46fbfee5ac7129c4b17207a3f35a1f57e8'
|
||||
|
||||
head 'https://github.com/joyent/node.git'
|
||||
|
||||
devel do
|
||||
url 'http://nodejs.org/dist/v0.7.12/node-v0.7.12.tar.gz'
|
||||
sha1 'cb570abacbf4eb7e23c3d2620d00dd3080d9c19d'
|
||||
end
|
||||
|
||||
# Leopard OpenSSL is not new enough, so use our keg-only one
|
||||
depends_on 'openssl' if MacOS.leopard?
|
||||
|
||||
|
@ -27,13 +22,6 @@ class Node < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
unless ARGV.build_devel?
|
||||
inreplace 'wscript' do |s|
|
||||
s.gsub! '/usr/local', HOMEBREW_PREFIX
|
||||
s.gsub! '/opt/local/lib', '/usr/lib'
|
||||
end
|
||||
end
|
||||
|
||||
# Why skip npm install? Read https://github.com/mxcl/homebrew/pull/8784.
|
||||
args = ["--prefix=#{prefix}", "--without-npm"]
|
||||
args << "--debug" if ARGV.include? '--enable-debug'
|
||||
|
|
Loading…
Reference in a new issue