These base OpenWrt libraries are always present on the system but their versions in the SDK-built feed don't match the router's installed versions, causing opkg to fail with "Cannot satisfy dependencies" errors. Fixed packages (18 total): - secubox-core: removed libubox, libubus, libuci - luci-app-ksm-manager: removed libubus, libubox - luci-app-mqtt-bridge: removed libuci - secubox-app-adguardhome: removed uci, libuci - secubox-app-auth-logger: removed libubox-lua - secubox-app-domoticz: removed uci, libuci - secubox-app-gitea: removed uci, libuci - secubox-app-glances: removed uci, libuci - secubox-app-hexojs: removed uci, libuci - secubox-app-lyrion: removed uci, libuci - secubox-app-magicmirror2: removed uci, libuci - secubox-app-mailinabox: removed uci, libuci - secubox-app-mitmproxy: removed uci, libuci - secubox-app-nextcloud: removed uci, libuci - secubox-app-ollama: removed uci, libuci - secubox-app-picobrew: removed uci, libuci - secubox-app-streamlit: removed uci, libuci - secubox-app-zigbee2mqtt: removed uci, libuci The packages still work because these libs are implicitly available. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
79 lines
1.9 KiB
Makefile
79 lines
1.9 KiB
Makefile
# SPDX-License-Identifier: MIT
|
|
#
|
|
# Copyright (C) 2025 CyberMind.fr
|
|
#
|
|
# SecuBox PicoBrew Server - Homebrew brewing controller
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=secubox-app-picobrew
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=7
|
|
PKG_ARCH:=all
|
|
|
|
PKG_MAINTAINER:=CyberMind Studio <contact@cybermind.fr>
|
|
PKG_LICENSE:=MIT
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/secubox-app-picobrew
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
PKGARCH:=all
|
|
SUBMENU:=SecuBox Apps
|
|
TITLE:=SecuBox PicoBrew Server
|
|
DEPENDS:=jsonfilter +wget-ssl +tar +lxc +lxc-common +git
|
|
endef
|
|
|
|
define Package/secubox-app-picobrew/description
|
|
PicoBrew Server - Self-hosted brewing controller for PicoBrew devices
|
|
|
|
Features:
|
|
- Control PicoBrew Zymatic, Z, Pico C, and Pico Pro devices
|
|
- Recipe management and import from BeerSmith
|
|
- Real-time brewing session monitoring
|
|
- Temperature and step control
|
|
- Session history and logging
|
|
|
|
Runs in LXC container with Python/Flask backend.
|
|
Configure in /etc/config/picobrew.
|
|
endef
|
|
|
|
define Package/secubox-app-picobrew/conffiles
|
|
/etc/config/picobrew
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/secubox-app-picobrew/install
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_CONF) ./files/etc/config/picobrew $(1)/etc/config/picobrew
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/etc/init.d/picobrew $(1)/etc/init.d/picobrew
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) ./files/usr/sbin/picobrewctl $(1)/usr/sbin/picobrewctl
|
|
endef
|
|
|
|
define Package/secubox-app-picobrew/postinst
|
|
#!/bin/sh
|
|
[ -n "$${IPKG_INSTROOT}" ] || {
|
|
echo ""
|
|
echo "PicoBrew Server installed."
|
|
echo ""
|
|
echo "To install and start PicoBrew Server:"
|
|
echo " picobrewctl install"
|
|
echo " /etc/init.d/picobrew start"
|
|
echo ""
|
|
echo "Web interface: http://<router-ip>:8080"
|
|
echo ""
|
|
echo "Configure your PicoBrew device to connect to this server."
|
|
echo ""
|
|
}
|
|
exit 0
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,secubox-app-picobrew))
|