From: Hirokazu MORIKAWA Date: Fri, 1 Apr 2016 04:48:46 +0000 (+0900) Subject: node-* : specify npm_config_cache directory X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=ac000220c3d888a9fce189da174bf9afb6717e6b;p=feed%2Fpackages.git node-* : specify npm_config_cache directory --- diff --git a/lang/node-hid/Makefile b/lang/node-hid/Makefile index c40901bdc7..3a929fb14f 100644 --- a/lang/node-hid/Makefile +++ b/lang/node-hid/Makefile @@ -49,6 +49,7 @@ define Build/Compile $(MAKE_FLAGS) \ npm_config_arch=$(CONFIG_ARCH) \ npm_config_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \ + npm_config_cache=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/npm-cache \ PREFIX="$(PKG_INSTALL_DIR)/usr/" \ $(STAGING_DIR)/host/bin/npm install -g $(PKG_BUILD_DIR) endef