secubox-openwrt/package/secubox/secubox-app-qbittorrent/Makefile
CyberMind-FR 0ec28266c5 feat(torrent): Add qBittorrent and WebTorrent packages
qBittorrent (secubox-app-qbittorrent):
- Full-featured BitTorrent client with web UI
- Container IP: 192.168.255.42:8090
- qbittorrent-nox from Debian repos
- API commands: add, list, status

WebTorrent (secubox-app-webtorrent):
- Browser-based torrent streaming via WebRTC
- Container IP: 192.168.255.43:8095
- Node.js server with webtorrent library
- Stream video files directly in browser
- Beautiful dark theme web UI

Both use Debian LXC containers (no Docker/Podman)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-14 19:03:07 +01:00

32 lines
858 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=secubox-app-qbittorrent
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk
define Package/secubox-app-qbittorrent
SECTION:=secubox
CATEGORY:=SecuBox
TITLE:=qBittorrent - BitTorrent Client
DEPENDS:=+lxc +curl +tar +xz
PKGARCH:=all
endef
define Package/secubox-app-qbittorrent/description
qBittorrent torrent client in Debian LXC container.
Features web UI, RSS, search plugins, and API.
endef
define Package/secubox-app-qbittorrent/install
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/qbittorrent $(1)/etc/config/
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/etc/init.d/qbittorrent $(1)/etc/init.d/
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) ./files/usr/sbin/qbittorrentctl $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,secubox-app-qbittorrent))