|
|
@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NPM_NAME:=serialport |
|
|
|
PKG_NAME:=node-$(PKG_NPM_NAME) |
|
|
|
PKG_VERSION:=9.0.2 |
|
|
|
PKG_VERSION:=9.0.4 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz |
|
|
|
PKG_SOURCE_URL:=https://registry.npmjs.org/$(PKG_NPM_NAME)/-/ |
|
|
|
PKG_HASH:=5f4cef3ec85accc8ad3d2ba75654fca4270e4a00d01729c4c4bcb895a3fdb5d6 |
|
|
|
PKG_HASH:=e19fe993ad16ae0e03fc42e24cfe4babf8fd90f8358e1885d5e216277dda1086 |
|
|
|
|
|
|
|
PKG_BUILD_DEPENDS:=node/host |
|
|
|
PKG_USE_MIPS16:=0 |
|
|
@ -56,7 +56,7 @@ define Build/Compile |
|
|
|
npm_config_prefix=$(PKG_INSTALL_DIR)/usr/ \
|
|
|
|
npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
|
|
|
|
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
|
|
|
|
npm install -g --build-from-source $(PKG_BUILD_DIR) |
|
|
|
npm install -g $(PKG_BUILD_DIR) |
|
|
|
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM) |
|
|
|
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM) |
|
|
|
endef |
|
|
|