Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
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
Guillaume Hervier
slapos-caddy
Commits
f830ac3c
Commit
f830ac3c
authored
Feb 14, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NPM is useful for old nodejs <= 0.4
parent
0140b803
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
10 deletions
+19
-10
component/nodejs/buildout.cfg
component/nodejs/buildout.cfg
+19
-10
No files found.
component/nodejs/buildout.cfg
View file @
f830ac3c
...
@@ -11,32 +11,41 @@ parts =
...
@@ -11,32 +11,41 @@ parts =
[nodejs]
[nodejs]
# Server-side Javascript.
# Server-side Javascript.
<= nodejs-0.6
[nodejs-0.4]
recipe = hexagonit.recipe.cmmi
recipe = hexagonit.recipe.cmmi
url = http://nodejs.org/dist/
node-v0.4.12
.tar.gz
url = http://nodejs.org/dist/
v0.6.10/node-v0.6.10
.tar.gz
md5sum =
a6375eaa43db5356bf443e25b828ae16
md5sum =
8a74fd5d48c2c7c64abc60b2b8f3fbc7
configure-options =
configure-options =
--openssl-includes=${openssl:location}/include
--openssl-includes=${openssl:location}/include
--openssl-libpath=${openssl:location}/lib
--openssl-libpath=${openssl:location}/lib
make-options = -j1
environment =
environment =
PATH=${pkgconfig:location}/bin:${python2.7:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:${python2.7:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig/
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig/
CPPFLAGS=-I${zlib:location}/include
CPPFLAGS=-I${zlib:location}/include
LDFLAGS=-Wl,-rpath=${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-Wl,-rpath=${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
[nodejs-0.
6
]
[nodejs-0.
4
]
recipe = hexagonit.recipe.cmmi
recipe = hexagonit.recipe.cmmi
url = http://nodejs.org/dist/
v0.6.10/node-v0.6.10
.tar.gz
url = http://nodejs.org/dist/
node-v0.4.12
.tar.gz
md5sum =
8a74fd5d48c2c7c64abc60b2b8f3fbc7
md5sum =
a6375eaa43db5356bf443e25b828ae16
configure-options =
configure-options =
--openssl-includes=${openssl:location}/include
--openssl-includes=${openssl:location}/include
--openssl-libpath=${openssl:location}/lib
--openssl-libpath=${openssl:location}/lib
make-options = -j1
environment =
environment =
PATH=${pkgconfig:location}/bin:${python2.7:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:${python2.7:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig/
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig/
CPPFLAGS=-I${zlib:location}/include
CPPFLAGS=-I${zlib:location}/include
LDFLAGS=-Wl,-rpath=${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-Wl,-rpath=${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
[npm]
# Node.js Package Manager
# Deprecated. Only useful with nodejs-0.4
recipe = plone.recipe.command
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
commit = 3136abc5c6b3ed332c4700ece24450fada63639b
branch = upstream
origin = https://github.com/isaacs/npm.git
git-bin = ${git:location}/bin/git
command = (GIT_SSL_NO_VERIFY=true ${:git-bin} clone --quiet ${:origin} ${:location} && cd ${:location} && ${:git-bin} reset --hard ${:commit} && ${:location}/configure --prefix=${:location} && GIT_SSL_NO_VERIFY=true ${:git-bin} submodule update --init --recursive && ${nodejs:location}/bin/node cli.js install npm -g -f) || (rm -fr ${:location}; exit 1)
update-command =
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