|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk |
|
|
PKG_NPM_NAME:=mozilla-iot-gateway |
|
|
PKG_NPM_NAME:=mozilla-iot-gateway |
|
|
PKG_NAME:=node-$(PKG_NPM_NAME) |
|
|
PKG_NAME:=node-$(PKG_NPM_NAME) |
|
|
PKG_VERSION:=0.6.0 |
|
|
PKG_VERSION:=0.6.0 |
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=3 |
|
|
PKG_REV:=df2d06def2051238bde7b8e5ee306262235d4c9f |
|
|
PKG_REV:=df2d06def2051238bde7b8e5ee306262235d4c9f |
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git |
|
|
PKG_SOURCE_PROTO:=git |
|
@ -74,9 +74,9 @@ define Package/node-mozilla-iot-gateway/install |
|
|
$(RM) -r $(1)/opt/mozilla-iot/gateway/node_modules/ursa-optional/build/Release/ursaNative.node |
|
|
$(RM) -r $(1)/opt/mozilla-iot/gateway/node_modules/ursa-optional/build/Release/ursaNative.node |
|
|
$(RM) -r $(1)/opt/mozilla-iot/gateway/node_modules/ursa-optional/build/Release/obj.target/ursaNative.node |
|
|
$(RM) -r $(1)/opt/mozilla-iot/gateway/node_modules/ursa-optional/build/Release/obj.target/ursaNative.node |
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/opt/mozilla-iot/gateway/node_modules/sqlite3/lib/binding/node-v57-linux-arm/ |
|
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/things-gateway/node_modules/sqlite3/lib/binding/node-v57-linux-arm/node_sqlite3.node \
|
|
|
|
|
|
$(1)/opt/mozilla-iot/gateway/node_modules/sqlite3/lib/binding/node-v57-linux-arm/ |
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/opt/mozilla-iot/gateway/node_modules/sqlite3/lib/binding/node-v57-linux-$(CPU)/ |
|
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/things-gateway/node_modules/sqlite3/lib/binding/node-v57-linux-$(CPU)/node_sqlite3.node \
|
|
|
|
|
|
$(1)/opt/mozilla-iot/gateway/node_modules/sqlite3/lib/binding/node-v57-linux-$(CPU)/ |
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d |
|
|
$(INSTALL_DIR) $(1)/etc/init.d |
|
|
$(INSTALL_BIN) ./files/mozilla-iot-gateway.init $(1)/etc/init.d/mozilla-iot-gateway |
|
|
$(INSTALL_BIN) ./files/mozilla-iot-gateway.init $(1)/etc/init.d/mozilla-iot-gateway |
|
|