|
@ -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)/ |
|
|