use our own readline in varnishadm.
[slapos.git] / component / nodejs / buildout.cfg
1 [buildout]
2 extends =
3   ../git/buildout.cfg
4   ../pkgconfig/buildout.cfg
5   ../openssl/buildout.cfg
6   ../zlib/buildout.cfg
7
8 parts =
9   nodejs
10
11 [nodejs]
12 <= nodejs-0.8
13
14 [nodejs-0.8]
15 # Server-side Javascript.
16 recipe = slapos.recipe.cmmi
17 url = http://nodejs.org/dist/v0.8.14/node-v0.8.14.tar.gz
18 md5sum = 284fd2c7578064c339d9cf6a3a475ac7
19 configure-options =
20   --openssl-includes=${openssl:location}/include
21   --openssl-libpath=${openssl:location}/lib
22 environment =
23   HOME=${buildout:parts-directory}/${:_buildout_section_name_}
24   PATH=${pkgconfig:location}/bin:%(PATH)s
25   PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig/
26   CPPFLAGS=-I${zlib:location}/include
27   LDFLAGS=-Wl,-rpath=${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
28
29 [nodejs-0.6]
30 # Server-side Javascript.
31 recipe = slapos.recipe.cmmi
32 url = http://nodejs.org/dist/v0.6.21/node-v0.6.21.tar.gz
33 md5sum = 0da985a0bf820400af92363b9f453fe4
34 configure-options =
35   --openssl-includes=${openssl:location}/include
36   --openssl-libpath=${openssl:location}/lib
37 environment =
38   HOME=${buildout:parts-directory}/${:_buildout_section_name_}
39   PATH=${pkgconfig:location}/bin:%(PATH)s
40   PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig/
41   CPPFLAGS=-I${zlib:location}/include
42   LDFLAGS=-Wl,-rpath=${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
43
44 [nodejs-0.4]
45 recipe = slapos.recipe.cmmi
46 url = http://nodejs.org/dist/node-v0.4.12.tar.gz
47 md5sum = a6375eaa43db5356bf443e25b828ae16
48 configure-options =
49   --openssl-includes=${openssl:location}/include
50   --openssl-libpath=${openssl:location}/lib
51 environment =
52   PATH=${pkgconfig:location}/bin:%(PATH)s
53   PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig/
54   CPPFLAGS=-I${zlib:location}/include
55   LDFLAGS=-Wl,-rpath=${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
56
57 [npm]
58 # Node.js Package Manager
59 # Deprecated. Included in node >= 0.6.3.
60 recipe = plone.recipe.command
61 location = ${buildout:parts-directory}/${:_buildout_section_name_}
62 stop-on-error = true
63 commit = 3136abc5c6b3ed332c4700ece24450fada63639b
64 origin = https://github.com/isaacs/npm.git
65 git-bin = ${git:location}/bin/git
66 node-bin = ${nodejs-0.4:location}/bin/node
67 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 && ${:node-bin} cli.js install npm@1.0.106 -g -f) || (rm -fr ${:location}; exit 1)
68 update-command =