Commit d508cf6e authored by Damian Montero's avatar Damian Montero

I'm adding node_stable back under diress

parent 9c869513
require 'package'
class Node_stable < Package
version '6.2.2'
source_url 'https://nodejs.org/dist/v6.2.2/node-v6.2.2.tar.xz'
source_sha1 '5014800813FA3682B8053637518B37A119C26E93'
depends_on 'buildessential'
depends_on 'python27'
def self.build
system "CC='gcc' python2.7 ./configure --without-snapshot"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
#Fix Permissiongs for -g installs of node packages
system "sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}"
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