homebrew-core/Formula/node.rb

23 lines
523 B
Ruby
Raw Normal View History

require 'formula'
class Node <Formula
url 'http://s3.amazonaws.com/four.livejournal/20100109/node-v0.1.25.tar.gz'
2009-12-20 12:47:19 +00:00
head 'git://github.com/ry/node.git'
homepage 'http://nodejs.org/'
md5 '17ef9f59b583b2159a6d40e88e767675'
2009-12-12 16:24:04 +00:00
aka 'node.js'
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
def install
ENV.gcc_4_2
system "./configure", "--prefix=#{prefix}"
system "make install"
end
end