aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/node.rb
diff options
context:
space:
mode:
authorJack Nagel2012-01-25 23:00:23 -0600
committerJack Nagel2012-01-25 23:00:23 -0600
commit74bff3983dcfe5e964bae8b872d455adbf71186c (patch)
tree42f10d5c3d492fcac534e8ef371331b5aa509f5d /Library/Formula/node.rb
parentd0ce3fe3ecd74b65788576b8cb4db114d8cd4f00 (diff)
downloadhomebrew-74bff3983dcfe5e964bae8b872d455adbf71186c.tar.bz2
node: use new devel syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/node.rb')
-rw-r--r--Library/Formula/node.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index 1f108af06..a1a174e55 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -1,18 +1,16 @@
require 'formula'
class Node < Formula
- if ARGV.build_devel?
+ url 'http://nodejs.org/dist/v0.6.8/node-v0.6.8.tar.gz'
+ md5 '9fd7baa2d27b848c3134e6ae35bb87b2'
+ homepage 'http://nodejs.org/'
+ head 'https://github.com/joyent/node.git'
+
+ devel do
url 'http://nodejs.org/dist/v0.7.0/node-v0.7.0.tar.gz'
md5 '5aceaa4e7aa43d78f87005f468dd6e3a'
- else
- url 'http://nodejs.org/dist/v0.6.8/node-v0.6.8.tar.gz'
- md5 '9fd7baa2d27b848c3134e6ae35bb87b2'
end
- head 'https://github.com/joyent/node.git'
-
- homepage 'http://nodejs.org/'
-
# Leopard OpenSSL is not new enough, so use our keg-only one
depends_on 'openssl' if MacOS.leopard?