2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-10 23:16:57 +00:00
|
|
|
|
|
|
|
class Node <Formula
|
2010-01-23 18:56:34 +00:00
|
|
|
url 'http://s3.amazonaws.com/four.livejournal/20100120/node-v0.1.26.tar.gz'
|
2009-12-20 12:47:19 +00:00
|
|
|
head 'git://github.com/ry/node.git'
|
2009-10-10 23:16:57 +00:00
|
|
|
homepage 'http://nodejs.org/'
|
2010-01-23 18:56:34 +00:00
|
|
|
md5 '8c65ce4bca6789d838401c29b41bcb58'
|
2009-10-10 23:16:57 +00:00
|
|
|
|
2009-12-12 16:24:04 +00:00
|
|
|
aka 'node.js'
|
|
|
|
|
2009-10-19 00:31:51 +00:00
|
|
|
def skip_clean? path
|
|
|
|
# TODO: at some point someone should tweak this so it only skips clean
|
|
|
|
# for the bits that break the build otherwise
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
2009-10-10 23:16:57 +00:00
|
|
|
def install
|
|
|
|
ENV.gcc_4_2
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|