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
ef1efd3a
Commit
ef1efd3a
authored
Jul 29, 2016
by
Damian Montero
Committed by
GitHub
Jul 29, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update node_current.rb
parent
ace7a840
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
packages/node_current.rb
packages/node_current.rb
+4
-7
No files found.
packages/node_current.rb
View file @
ef1efd3a
require
'package'
require
'package'
class
Node_current
<
Package
class
Node_current
<
Package
version
'6.
3.1
'
version
'6.
2.2
'
source_url
'https://nodejs.org/dist/v6.
3.1/node-v6.3.1
.tar.xz'
source_url
'https://nodejs.org/dist/v6.
2.2/node-v6.2.2
.tar.xz'
source_sha1
'
7021da27637f0e099598f0a7e8ddaf07e8bb3a69
'
source_sha1
'
5014800813fa3682b8053637518b37a119c26e93
'
depends_on
'buildessential'
depends_on
'buildessential'
depends_on
'python27'
depends_on
'python27'
depends_on
'openssl_devel'
def
self
.
build
def
self
.
build
system
"CC='gcc' python2.7 ./configure --without-snapshot"
system
"CC='gcc' python2.7 ./configure --without-snapshot"
system
"make"
system
"make"
...
@@ -18,7 +16,6 @@ class Node_current < Package
...
@@ -18,7 +16,6 @@ class Node_current < Package
def
self
.
install
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
#Fix Permissiongs for -g installs of node packages
#Fix Permissiongs for -g installs of node packages
system
"echo 'Now to get npm -g working you should type this'"
system
"sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}"
system
"echo 'sudo chown -R chronos /usr/local/lib/node_modules'"
end
end
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