From: Josef Schlehofer Date: Thu, 18 Apr 2019 21:49:40 +0000 (+0200) Subject: mozilla-iot-gateway: update to version 0.8.1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F8722%2Fhead;p=feed%2Fpackages.git mozilla-iot-gateway: update to version 0.8.1 - It was rebranded from Things Gateway by Mozilla to WebThings Gateway by Mozilla - Ursa module is no longer optional Signed-off-by: Josef Schlehofer --- diff --git a/lang/node-mozilla-iot-gateway/Makefile b/lang/node-mozilla-iot-gateway/Makefile index 9f0d754697..3289a0505c 100644 --- a/lang/node-mozilla-iot-gateway/Makefile +++ b/lang/node-mozilla-iot-gateway/Makefile @@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NPM_NAME:=mozilla-iot-gateway PKG_NAME:=node-$(PKG_NPM_NAME) -PKG_VERSION:=0.7.0 -PKG_RELEASE:=2 +PKG_VERSION:=0.8.1 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/mozilla-iot/gateway/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=a5ff36942b686ea39f6d1e5d369cd783d6e2265f19262856647de7e596aa1a77 +PKG_HASH:=f407732b9c1d020aa79e9d0b12f1b97e82691d6f58def2df067f790f4f640e30 PKG_BUILD_DEPENDS:=node/host openzwave @@ -28,7 +28,7 @@ define Package/node-mozilla-iot-gateway SUBMENU:=Node.js SECTION:=lang CATEGORY:=Languages - TITLE:=Things Gateway by Mozilla + TITLE:=WebThings Gateway by Mozilla URL:=https://iot.mozilla.org/gateway/ DEPENDS:= +libpthread +node +node-npm +libopenzwave +openzwave-config +python +python3-light +python3-pip +openssl-util DEPENDS+= +MOIT_enable-plugin-support:git-http @@ -64,16 +64,16 @@ endef define Package/node-mozilla-iot-gateway/install $(INSTALL_DIR) $(1)/opt/mozilla-iot/gateway/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/things-gateway/* $(1)/opt/mozilla-iot/gateway + $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/webthings-gateway/* $(1)/opt/mozilla-iot/gateway $(STAGING_DIR_HOSTPKG)/bin/npm --prefix=$(1)/opt/mozilla-iot/gateway install $(1)/opt/mozilla-iot/gateway # Clean up of old build files that confuse OpenWrt's dependency checker $(RM) -r $(1)/opt/mozilla-iot/gateway/node_modules/sqlite3/lib/binding/node-v57-linux-x64 - $(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/build/Release/ursaNative.node + $(RM) -r $(1)/opt/mozilla-iot/gateway/node_modules/ursa/build/Release/obj.target/ursaNative.node $(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 \ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/webthings-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