mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
* update netifd * update hostapd * update mt76 * update maverick * add dynamic vlan * update ucentral-client * update ucentral-schema * update ucode * update 5.10 patches * fix realtek Signed-off-by: John Crispin <john@phrozen.org>
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
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:=3def7c0f68a82154a3b0f0120a87183412d2777a
|
|
|
|
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 Package/ucentral-recovery
|
|
SECTION:=ucentral
|
|
CATEGORY:=uCentral
|
|
TITLE:=OpenWrt uCentral recovery tooling
|
|
endef
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
define Package/ucentral-schema/install
|
|
$(INSTALL_DIR) $(1)/usr/share/ucentral
|
|
$(CP) $(PKG_BUILD_DIR)/schemareader.uc $(1)/usr/share/ucentral
|
|
$(CP) $(PKG_BUILD_DIR)/renderer/* $(1)/usr/share/ucentral
|
|
$(CP) $(PKG_BUILD_DIR)/command/*.uc $(1)/usr/share/ucentral
|
|
$(CP) $(PKG_BUILD_DIR)/system/*.uc $(1)/usr/share/ucentral
|
|
$(CP) ./files/* $(1)
|
|
endef
|
|
|
|
define Package/ucentral-recovery/install
|
|
$(INSTALL_DIR) $(1)/usr/share/ucentral $(1)/etc/uci-defaults/
|
|
$(CP) $(PKG_BUILD_DIR)/command/*.uc $(1)/usr/share/ucentral
|
|
$(CP) $(PKG_BUILD_DIR)/system/{capabilities,crashlog}.uc $(1)/usr/share/ucentral
|
|
$(CP) ./files/etc/uci-defaults/99-ucentral-hostname $(1)/etc/uci-defaults/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,ucentral-recovery))
|
|
$(eval $(call BuildPackage,ucentral-schema))
|