|
|
|
@ -22,8 +22,8 @@
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_opkg 6.14.1 |
|
|
|
|
%define V_dist 6.14.1 |
|
|
|
|
%define V_opkg 6.14.2 |
|
|
|
|
%define V_dist 6.14.2 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: node6 |
|
|
|
@ -36,7 +36,7 @@ Class: PLUS
|
|
|
|
|
Group: Web |
|
|
|
|
License: MIT/BSD |
|
|
|
|
Version: %{V_opkg} |
|
|
|
|
Release: 20180330 |
|
|
|
|
Release: 20180506 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_icu no |
|
|
|
@ -50,8 +50,8 @@ Patch0: node6.patch
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101, make, gcc >= 5.2, gcc::with_cxx = yes, python, pkgconfig |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
|
BuildPreReq: openssl >= 1.0.2, libexecinfo, zlib, ares, http-parser |
|
|
|
|
PreReq: openssl >= 1.0.2, libexecinfo, zlib, ares, http-parser |
|
|
|
|
BuildPreReq: openssl >= 1.0.2, libexecinfo, zlib, ares, http-parser, libuv |
|
|
|
|
PreReq: openssl >= 1.0.2, libexecinfo, zlib, ares, http-parser, libuv |
|
|
|
|
%if "%{with_icu}" == "yes" |
|
|
|
|
BuildPreReq: icu |
|
|
|
|
PreReq: icu |
|
|
|
@ -119,6 +119,10 @@ Provides: node = %{version}
|
|
|
|
|
--shared-cares-includes=%{l_prefix}/include \ |
|
|
|
|
--shared-cares-libpath=%{l_prefix}/lib \ |
|
|
|
|
--shared-cares-libname="ares" \ |
|
|
|
|
--shared-libuv \ |
|
|
|
|
--shared-libuv-includes=%{l_prefix}/include \ |
|
|
|
|
--shared-libuv-libpath=%{l_prefix}/lib \ |
|
|
|
|
--shared-libuv-libname="uv" \ |
|
|
|
|
%if "%{with_icu}" == "yes" |
|
|
|
|
--with-intl=system-icu \ |
|
|
|
|
%else |
|
|
|
|