Commit 27774112 authored by Damian Montero's avatar Damian Montero

Fixed the ln line and fixed node error, as well as changed the new name of...

Fixed the ln line and fixed node error, as well as changed the new name of node to follow nodejs.org naming convetion of 6.x versions
parent d5aae71f
......@@ -104,7 +104,7 @@ wget -N --continue --no-check-certificate $URL/packages/linuxheaders.rb
(echo y;) | crew install git
#Making GCC act like CC (For some npm packages out there)
ln -s /usr/local/bin/gcc /usr/local/bin/cc
sudo ln -s /usr/local/bin/gcc /usr/local/bin/cc
#prepare sparse checkout .rb packages directory and do it
cd $CREW_LIB_PATH
......
require 'package'
class Node < Package
version '4.3.0'
source_url 'https://nodejs.org/dist/v4.3.0/node-v4.3.0.tar.xz'
source_sha1 'd7b4e9676e63fc3dd1d506cef244874466264e22'
version '4.4.5'
source_url 'https://nodejs.org/dist/v4.4.5/node-v4.4.5.tar.xz'
source_sha1 'be0af595facab8be2dd8fa64c051c4c5a7ec0c4a'
depends_on 'buildessential'
depends_on 'python27'
def self.build
system "CC='gcc' python2.7 ./configure"
system "CC='gcc' python2.7 ./configure --without-snapshot"
system "make"
end
......
require 'package'
class Node_stable < Package
version '5.6.0'
source_url 'https://nodejs.org/dist/v5.6.0/node-v5.6.0.tar.xz'
source_sha1 '522b4f1027549eb8161c1edba222176aba92e294'
class Node_current < Package
version '6.2.0'
source_url 'https://nodejs.org/dist/v6.2.0/node-v6.2.0.tar.xz'
source_sha1 'a245c70ca3e3da7c822faa449bbe19dc8948cbc3'
depends_on 'buildessential'
depends_on 'python27'
......
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