wlan-ap-Telecominfraproject/feeds/ucentral/ucentral-schema/Makefile
John Crispin bc13ab4544 ucentral: various updates and fixes
* Gateway and client are now talking jsonrpc on the wire.
* update the datamodel to the latest version.
* add github workflow
* add zero touch on-boarding

Signed-off-by: John Crispin <john@phrozen.org>
2021-03-29 18:51:13 +02:00

35 lines
905 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=ucentral-schema
PKG_RELEASE:=1
PKG_SOURCE_URL=https://github.com/blogic/ucentral-schema.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2021-02-15
PKG_SOURCE_VERSION:=7fb6336b47ebc06a9d990226a028cdf58b7110bd
PKG_MAINTAINER:=John Crispin <john@phrozen.org>
PKG_LICENSE:=BSD-3-Clause
include $(INCLUDE_DIR)/package.mk
define Package/ucentral-schema
SECTION:=ucentral
CATEGORY:=uCentral
TITLE:=OpenWrt uCentral schema
endef
define Build/Compile
endef
define Package/ucentral-schema/install
$(INSTALL_DIR) $(1)/usr/share/ucentral
$(INSTALL_DATA) $(PKG_BUILD_DIR)/ucentral.schema.json $(1)/usr/share/ucentral
$(INSTALL_DATA) $(PKG_BUILD_DIR)/sys/*.uc $(1)/usr/share/ucentral
$(INSTALL_DATA) $(PKG_BUILD_DIR)/cmd/*.uc $(1)/usr/share/ucentral
$(INSTALL_DATA) $(PKG_BUILD_DIR)/cfg/*.uc $(1)/usr/share/ucentral
endef
$(eval $(call BuildPackage,ucentral-schema))