39 Patch0: node.patch |
39 Patch0: node.patch |
40 |
40 |
41 # build information |
41 # build information |
42 BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc, gcc::with_cxx = yes |
42 BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc, gcc::with_cxx = yes |
43 PreReq: OpenPKG, openpkg >= 20100101 |
43 PreReq: OpenPKG, openpkg >= 20100101 |
44 BuildPreReq: openssl, libexecinfo, zlib, python, pkgconfig |
44 BuildPreReq: openssl, libexecinfo, v8, zlib, python, pkgconfig |
45 PreReq: openssl, libexecinfo, zlib |
45 PreReq: openssl, libexecinfo, v8, zlib |
46 |
46 |
47 %description |
47 %description |
48 Node.js provides an easy way to build scalable network servers in |
48 Node.js provides an easy way to build scalable network servers in |
49 JavaScript. It is an event driven I/O environment based on Google V8 |
49 JavaScript. It is an event driven I/O environment based on Google |
50 JavaScript virtual machine. This particular Node JS installation uses |
50 V8 JavaScript virtual machine. |
51 a locally provided implementation of V8 rather than depending on an |
|
52 externally available V8 installation. |
|
53 |
51 |
54 %track |
52 %track |
55 prog node = { |
53 prog node = { |
56 version = %{version} |
54 version = %{version} |
57 url = http://nodejs.org/ |
55 url = http://nodejs.org/ |
85 %{l_prefix}/bin/python ./configure \ |
83 %{l_prefix}/bin/python ./configure \ |
86 --prefix=%{l_prefix} \ |
84 --prefix=%{l_prefix} \ |
87 --openssl-use-sys \ |
85 --openssl-use-sys \ |
88 --openssl-includes=%{l_prefix}/include \ |
86 --openssl-includes=%{l_prefix}/include \ |
89 --openssl-libpath=%{l_prefix}/lib \ |
87 --openssl-libpath=%{l_prefix}/lib \ |
|
88 --shared-v8 \ |
|
89 --shared-v8-includes=%{l_prefix}/include \ |
|
90 --shared-v8-libpath=%{l_prefix}/lib \ |
|
91 --shared-v8-libname=v8 \ |
90 --shared-zlib \ |
92 --shared-zlib \ |
91 --shared-zlib-includes=%{l_prefix}/include \ |
93 --shared-zlib-includes=%{l_prefix}/include \ |
92 --shared-zlib-libpath=%{l_prefix}/lib \ |
94 --shared-zlib-libpath=%{l_prefix}/lib \ |
93 --without-dtrace |
95 --without-dtrace |
94 %{l_make} %{l_mflags -O} |
96 %{l_make} %{l_mflags -O} |