Browse Source

Merge pull request #13420 from nxhack/serialport_901

node-serialport: update to 9.0.1
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
a672ca3216
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions
  1. +3
    -3
      lang/node-serialport/Makefile
  2. +5
    -5
      lang/node-serialport/patches/001-turn_off_depends.patch

+ 3
- 3
lang/node-serialport/Makefile View File

@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk
PKG_NPM_NAME:=serialport PKG_NPM_NAME:=serialport
PKG_NAME:=node-$(PKG_NPM_NAME) PKG_NAME:=node-$(PKG_NPM_NAME)
PKG_VERSION:=8.0.7
PKG_VERSION:=9.0.1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://registry.npmjs.org/$(PKG_NPM_NAME)/-/ PKG_SOURCE_URL:=https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
PKG_HASH:=b70000ad4560dbd7170e657554d6302024a340ae868e1db0fc672aaab2efbd9c
PKG_HASH:=9f837bc5b64dde03aaf097093a2674789405f436fd367903502d3e2e17fcd4a3
PKG_BUILD_DEPENDS:=node/host PKG_BUILD_DEPENDS:=node/host
PKG_USE_MIPS16:=0 PKG_USE_MIPS16:=0
@ -65,7 +65,7 @@ define Package/node-serialport/install
$(INSTALL_DIR) $(1)/usr/lib/node/$(PKG_NPM_NAME) $(INSTALL_DIR) $(1)/usr/lib/node/$(PKG_NPM_NAME)
$(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/{package.json,LICENSE,*.md} \ $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/{package.json,LICENSE,*.md} \
$(1)/usr/lib/node/$(PKG_NPM_NAME)/ $(1)/usr/lib/node/$(PKG_NPM_NAME)/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/test.js \
$(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/*.js \
$(1)/usr/lib/node/$(PKG_NPM_NAME)/ $(1)/usr/lib/node/$(PKG_NPM_NAME)/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/{node_modules,lib} \ $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/{node_modules,lib} \
$(1)/usr/lib/node/$(PKG_NPM_NAME)/ $(1)/usr/lib/node/$(PKG_NPM_NAME)/


+ 5
- 5
lang/node-serialport/patches/001-turn_off_depends.patch View File

@ -3,8 +3,8 @@
@@ -46,7 +46,6 @@ @@ -46,7 +46,6 @@
], ],
"dependencies": { "dependencies": {
"@serialport/binding-mock": "^8.0.6",
- "@serialport/bindings": "^8.0.7",
"@serialport/parser-byte-length": "^8.0.6",
"@serialport/parser-cctalk": "^8.0.6",
"@serialport/parser-delimiter": "^8.0.6",
"@serialport/binding-mock": "^9.0.1",
- "@serialport/bindings": "^9.0.1",
"@serialport/parser-byte-length": "^9.0.1",
"@serialport/parser-cctalk": "^9.0.1",
"@serialport/parser-delimiter": "^9.0.1",

Loading…
Cancel
Save