diff options
| author | Hirokazu MORIKAWA <morikw2@gmail.com> | 2022-04-04 12:50:20 +0900 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2022-04-16 11:00:20 -0700 |
| commit | 5beac5427709e562fd39f0f198cd4dfb7eaa286a (patch) | |
| tree | 7da3277f9af766a84ab4a2389b867007e10d69be /lang/node/Makefile | |
| parent | 596846069145e77efa888c19b954db72c67359c3 (diff) | |
node: Major update from v14 to v16
This update also changes npm from v6 to v8.
This change also requires node module packages to be modified.
Each package will be updated later.
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Diffstat (limited to 'lang/node/Makefile')
| -rw-r--r-- | lang/node/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/node/Makefile b/lang/node/Makefile index 251a6121e..32ddc5d0c 100644 --- a/lang/node/Makefile +++ b/lang/node/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=node -PKG_VERSION:=v14.18.3 +PKG_VERSION:=v16.14.2 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://nodejs.org/dist/$(PKG_VERSION) -PKG_HASH:=783ac443cd343dd6c68d2abcf7e59e7b978a6a428f6a6025f9b84918b769d608 +PKG_HASH:=e922e215cc68eb5f94d33e8a0b61e2c863b7731cc8600ab955d3822da90ff8d1 PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>, Adrian Panella <ianchi74@outlook.com> PKG_LICENSE:=MIT @@ -48,7 +48,7 @@ define Package/node/description an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world. *** The following preparations must be made on the host side. *** - 1. gcc 6.3 or higher is required. + 1. gcc 8.3 or higher is required. 2. To build a 32-bit target, gcc-multilib, g++-multilib are required. 3. Requires libatomic package. (If necessary, install the 32-bit library at the same time.) ex) sudo apt-get install gcc-multilib g++-multilib @@ -141,10 +141,11 @@ define Package/node/install endef define Package/node-npm/install + $(RM) $(1)/usr/lib/node_modules/npm $(INSTALL_DIR) $(1)/usr/lib/node_modules/npm $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/npm/{package.json,LICENSE} \ $(1)/usr/lib/node_modules/npm/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/npm/{AUTHORS,*.md} \ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/npm/README.md \ $(1)/usr/lib/node_modules/npm/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/npm/{node_modules,bin,lib} \ $(1)/usr/lib/node_modules/npm/ |
