|
|
|
@ -24,8 +24,8 @@
|
|
|
|
|
# package version |
|
|
|
|
%define V_snap_base 12.0.0 |
|
|
|
|
%define V_snap_type nightly |
|
|
|
|
%define V_snap_date 20190201 |
|
|
|
|
%define V_snap_hash 7c9fba30ef |
|
|
|
|
%define V_snap_date 20190206 |
|
|
|
|
%define V_snap_hash 686043e76e |
|
|
|
|
%define V_opkg %{V_snap_base}.%{V_snap_date} |
|
|
|
|
%define V_dist %{V_snap_base}-%{V_snap_type}%{V_snap_date}%{V_snap_hash} |
|
|
|
|
|
|
|
|
@ -40,7 +40,7 @@ Class: PLUS
|
|
|
|
|
Group: Web |
|
|
|
|
License: MIT/BSD |
|
|
|
|
Version: %{V_opkg} |
|
|
|
|
Release: 20190201 |
|
|
|
|
Release: 20190206 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_icu yes |
|
|
|
@ -52,7 +52,7 @@ Source1: node.c
|
|
|
|
|
Patch0: node12.patch |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101, make, gcc >= 5.2, gcc::with_cxx = yes, python, pkgconfig |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101, make, gcc >= 5.2, gcc::with_cxx = yes, python2, pkgconfig |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
|
BuildPreReq: openssl11, libexecinfo, zlib, ares, libuv, nghttp2 |
|
|
|
|
PreReq: openssl11, libexecinfo, zlib, ares, libuv, nghttp2 |
|
|
|
@ -116,7 +116,7 @@ Provides: node = %{version}
|
|
|
|
|
CPPFLAGS="%{l_cppflags openssl11 .}" \ |
|
|
|
|
LDFLAGS="%{l_ldflags openssl11 .}" \ |
|
|
|
|
LIBS="$libs" \ |
|
|
|
|
%{l_prefix}/bin/python ./configure \ |
|
|
|
|
%{l_prefix}/bin/python2 ./configure \ |
|
|
|
|
--prefix=%{l_prefix} \ |
|
|
|
|
--shared-openssl \ |
|
|
|
|
--shared-openssl-includes=%{l_prefix}/include/openssl11 \ |
|
|
|
|