fix(luci-app-repo): Add proper Package definition with TITLE field

- Add Package/luci-app-repo section with required fields
- Add Build/Compile empty target
- Add package description
- Fix build failure in SDK

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-03-18 10:41:36 +01:00
parent c152934bf1
commit 088b6e749f

View File

@ -7,11 +7,25 @@ PKG_RELEASE:=1
PKG_MAINTAINER:=SecuBox Team PKG_MAINTAINER:=SecuBox Team
PKG_LICENSE:=Apache-2.0 PKG_LICENSE:=Apache-2.0
LUCI_TITLE:=LuCI Package Repository Dashboard
LUCI_DEPENDS:=+secubox-app-repo
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/luci-app-repo
SECTION:=luci
CATEGORY:=LuCI
SUBMENU:=3. Applications
TITLE:=LuCI Package Repository Dashboard
DEPENDS:=+secubox-app-repo
PKGARCH:=all
endef
define Package/luci-app-repo/description
LuCI dashboard for managing SecuBox local package repository.
Provides UI for syncing packages from GitHub releases.
endef
define Build/Compile
endef
define Package/luci-app-repo/install define Package/luci-app-repo/install
$(INSTALL_DIR) $(1)/www/luci-static/resources/view/repo $(INSTALL_DIR) $(1)/www/luci-static/resources/view/repo
$(INSTALL_DATA) ./htdocs/luci-static/resources/view/repo/*.js $(1)/www/luci-static/resources/view/repo/ $(INSTALL_DATA) ./htdocs/luci-static/resources/view/repo/*.js $(1)/www/luci-static/resources/view/repo/