Commit 00d93b5b authored by Ed Reel's avatar Ed Reel

Remove node and node_latest packages

parent f580c310
...@@ -3,36 +3,9 @@ require 'package' ...@@ -3,36 +3,9 @@ require 'package'
class Node < Package class Node < Package
description 'As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications.' description 'As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications.'
homepage 'https://nodejs.org/en/' homepage 'https://nodejs.org/en/'
version '6.11.0' version '8.9.1'
source_url 'https://nodejs.org/dist/v6.11.0/node-v6.11.0.tar.xz'
source_sha256 '02ba35391edea2b294c736489af01954ce6e6c39d318f4423ae6617c69ef0a51'
binary_url ({ is_fake
})
binary_sha256 ({
})
depends_on 'buildessential' depends_on 'nodebrew'
depends_on 'python27'
def self.build
case ARCH
when "x86_64"
system "CC='gcc -m64' python2.7 ./configure --without-snapshot"
else
system "CC='gcc' python2.7 ./configure --without-snapshot"
end
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 chronos /usr/local/bin"
system "sudo chown -R chronos /usr/local/share"
if Dir.exists?('/usr/local/lib/node_modules')
system "sudo chown -R chronos /usr/local/lib/node_modules"
end
end
end end
require 'package'
class Node_current < Package
description 'As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications.'
homepage 'https://nodejs.org/en/'
version '8.1.2'
source_url 'https://nodejs.org/dist/v8.1.2/node-v8.1.2.tar.gz'
source_sha256 'd717b364868956e0b775145e57a84e63962a9cf83146e778547fc71bb27a2251'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/node_current-8.1.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/node_current-8.1.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/node_current-8.1.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/node_current-8.1.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '4b7466db145427111a405ab563b906ceca53e309476188d46f6448b87dcfa8b4',
armv7l: '4b7466db145427111a405ab563b906ceca53e309476188d46f6448b87dcfa8b4',
i686: 'c12c4f01b4fe678355a6f8abe3b46a2b66b90c7ef650c57df9031272251f90ff',
x86_64: 'c84f9f9a7b57be96795c149307d510c7b71bc81449f0805e8458c0ce701cedc3',
})
depends_on 'buildessential'
depends_on 'python27'
def self.build
case ARCH
when "x86_64"
system "CC='gcc -m64' python2.7 ./configure --without-snapshot"
else
system "CC='gcc' python2.7 ./configure --without-snapshot"
end
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 chronos /usr/local/bin"
system "sudo chown -R chronos /usr/local/share"
if Dir.exists?('/usr/local/lib/node_modules')
system "sudo chown -R chronos /usr/local/lib/node_modules"
end
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