secubox-openwrt/package/secubox/luci-app-metacatalog/Makefile
CyberMind-FR 1ac3c4e8c0 feat(metacatalog): Add LuCI dashboard (Phase 2)
New luci-app-metacatalog package:
- RPCD backend with 10 methods (list_entries, list_books, search, etc.)
- ACL permissions for read/write access
- Menu entry under SecuBox
- KISS-themed dashboard with:
  - Stats chips (entries, metablogs, streamlits, books)
  - Virtual books shelf with color-coded cards
  - Entry links to published content
  - Sync button for manual refresh
  - Landing page link

Deployed and tested on router.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-11 16:47:09 +01:00

30 lines
603 B
Makefile

# SPDX-License-Identifier: Apache-2.0
#
# Copyright (C) 2026 CyberMind.fr - Gandalf
#
# LuCI app for Meta Cataloger
include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI Meta Cataloger
LUCI_DEPENDS:=+secubox-app-metacatalog
LUCI_PKGARCH:=all
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_LICENSE:=Apache-2.0
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
include $(TOPDIR)/feeds/luci/luci.mk
define Package/luci-app-metacatalog/postinst
#!/bin/sh
[ -n "$${IPKG_INSTROOT}" ] || {
rm -f /tmp/luci-indexcache* /tmp/luci-modulecache/*
/etc/init.d/rpcd restart
}
exit 0
endef
# call BuildPackage - OpenWrt buildance