Commit 85fd41e8 authored by mrzmmr@gmail.com's avatar mrzmmr@gmail.com

Add packages/nodejs.rb

parent 192bbc69
require 'package'
class Nodejs < Package
version '0.10.36'
source_url 'http://nodejs.org/dist/v0.10.36/node-v0.10.36.tar.gz'
source_sha1 '7e89d33ad0e56f6ca517f43a4a7b56079db18420'
depends_on 'buildessential'
depends_on 'python27'
def self.build
# These are needed for node to install
system "sudo ln -s /usr/local/bin/gcc /usr/local/bin/cc"
system "./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment