Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
4107e443
Commit
4107e443
authored
Jun 13, 2017
by
Damian Montero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Node to 6.11.0
parent
774f3a6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
packages/node.rb
packages/node.rb
+11
-10
No files found.
packages/node.rb
View file @
4107e443
...
...
@@ -3,26 +3,27 @@ require 'package'
class
Node
<
Package
description
'As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications.'
homepage
'https://nodejs.org/en/'
version
'6.
9.4
'
source_url
'https://nodejs.org/dist/v6.
9.4/node-v6.9.4
.tar.xz'
source_sha1
'
3b798acf7af4cd3f0efdb86bea009794492129ba
'
version
'6.
11.0
'
source_url
'https://nodejs.org/dist/v6.
11.0/node-v6.11.0
.tar.xz'
source_sha1
'
1e408d9981606c5a01f46b4b6c93c0b30fa49d8c
'
depends_on
'buildessential'
depends_on
'python27'
def
self
.
build
system
"CC='gcc' python2.7 ./configure --without-snapshot"
system
"CC='gcc
-m64
' 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
puts
"************************************************************"
puts
"Now run:"
puts
"sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}"
puts
"To be able to do"
puts
"npm install -g"
puts
"without being SUDO"
#puts "************************************************************"
#puts "Now run:"
#puts "sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}"
#puts "To be able to do"
#puts "npm install -g"
#puts "without being SUDO"
system
"sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}"
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment