diff options
Diffstat (limited to 'package/nodejs/Makefile')
-rw-r--r-- | package/nodejs/Makefile | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/package/nodejs/Makefile b/package/nodejs/Makefile index db6b8a1d3..02627aa6a 100644 --- a/package/nodejs/Makefile +++ b/package/nodejs/Makefile @@ -4,19 +4,17 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= nodejs -PKG_VERSION:= 12.16.2 +PKG_VERSION:= 20.11.1 PKG_RELEASE:= 1 -PKG_HASH:= 48b21340eff95bfc6e7297e4a027f5db74d6d64257c476972a1b2f2fdccc9582 +PKG_HASH:= 4af1ba6ea848cc05908b8a62b02fb27684dd52b2a7988ee82b0cfa72deb90b94 PKG_DESCR:= asynchronous event driven framework PKG_SECTION:= net/http PKG_DEPENDS:= zlib -PKG_BUILDDEP:= python2-host nodejs-host zlib +PKG_BUILDDEP:= python3-host nodejs-host zlib PKG_NEEDS:= threads c++ PKG_URL:= https://nodejs.org/ PKG_SITES:= https://nodejs.org/dist/v$(PKG_VERSION)/ -PKG_SYSTEM_DEPENDS:= !mikrotik-rb532 - DISTFILES:= node-v$(PKG_VERSION).tar.gz WRKDIST= $(WRKDIR)/node-v$(PKG_VERSION) @@ -26,17 +24,16 @@ include $(ADK_TOPDIR)/mk/package.mk $(eval $(call HOST_template,NODEJS,nodejs,$(PKG_VERSION)-$(PKG_RELEASE))) $(eval $(call PKG_template,NODEJS,nodejs,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) +HOST_CFLAGS:= +HOST_CXXFLAGS:= HOST_STYLE:= manual CONFIG_STYLE:= manual host-configure: (cd $(WRKSRC); \ - PYTHON=$(STAGING_HOST_DIR)/usr/bin/python2 \ - $(STAGING_HOST_DIR)/usr/bin/python2 ./configure \ + PYTHON=$(STAGING_HOST_DIR)/usr/bin/python3 \ + $(STAGING_HOST_DIR)/usr/bin/python3 ./configure \ --prefix=/usr \ - --without-snapshot \ - --without-dtrace \ - --without-etw \ --without-intl \ --shared-zlib \ ) @@ -48,17 +45,16 @@ host-build: nodejs-hostinstall: cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \ ${HOST_FAKE_FLAGS} DESTDIR='${STAGING_HOST_DIR}' ${HOST_INSTALL_TARGET} $(MAKE_TRACE) -# $(INSTALL_BIN) ${WRKBUILD}/out/Release/mkpeephole ${STAGING_HOST_DIR}/usr/bin + $(INSTALL_BIN) ${WRKBUILD}/out/Release/node_js2c ${STAGING_HOST_DIR}/usr/bin + $(INSTALL_BIN) ${WRKBUILD}/out/Release/bytecode_builtins_list_generator ${STAGING_HOST_DIR}/usr/bin + $(INSTALL_BIN) ${WRKBUILD}/out/Release/torque ${STAGING_HOST_DIR}/usr/bin do-configure: (cd $(WRKSRC); \ - PYTHON=$(STAGING_HOST_DIR)/usr/bin/python2 \ - $(STAGING_HOST_DIR)/usr/bin/python2 ./configure \ + PYTHON=$(STAGING_HOST_DIR)/usr/bin/python3 \ + $(STAGING_HOST_DIR)/usr/bin/python3 ./configure \ --prefix=/usr \ --cross-compiling \ - --without-snapshot \ - --without-dtrace \ - --without-etw \ --without-intl \ --shared-zlib \ ) |