mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
22 lines
485 B
Ruby
22 lines
485 B
Ruby
require 'formula'
|
|
|
|
class Node <Formula
|
|
url 'http://s3.amazonaws.com/four.livejournal/20091219/node-v0.1.22.tar.gz'
|
|
homepage 'http://nodejs.org/'
|
|
md5 '0cfff2bf4811ab0d0cc5d4db1afe9e2b'
|
|
|
|
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
|