Browse Source

Merge pull request #9046 from nxhack/fix_powerpc_fail

node-serialport: fix powerpc build fail
lilik-openwrt-22.03
Rosen Penev 6 years ago
committed by GitHub
parent
commit
c2093cf4d3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions
  1. +2
    -2
      lang/node-serialport/Makefile
  2. +10
    -0
      lang/node-serialport/patches/001-turn_off_depends.patch

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

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NPM_NAME:=serialport
PKG_NAME:=node-$(PKG_NPM_NAME)
PKG_VERSION:=7.1.5
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
@ -31,7 +31,7 @@ define Package/node-serialport
CATEGORY:=Languages
TITLE:=Node.js package to access serial ports
URL:=https://serialport.io/
DEPENDS:=+node +node-npm
DEPENDS:=+node +node-npm +node-serialport-bindings
endef
define Package/node-serialport/description


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

@ -0,0 +1,10 @@
--- a/package.json
+++ b/package.json
@@ -41,7 +41,6 @@
],
"dependencies": {
"@serialport/binding-mock": "^2.0.5",
- "@serialport/bindings": "^2.0.8",
"@serialport/parser-byte-length": "^2.0.2",
"@serialport/parser-cctalk": "^2.0.2",
"@serialport/parser-delimiter": "^2.0.2",

Loading…
Cancel
Save