mirror of
https://github.com/kenzok8/small-package
synced 2025-01-09 08:59:26 +08:00
36 lines
802 B
Makefile
36 lines
802 B
Makefile
# Copyright (C) 2019 Openwrt.org
|
|
#
|
|
# This is free software, licensed under the Apache License, Version 2.0 .
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-app-qbittorrent
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=1
|
|
|
|
LUCI_TITLE:=LuCI support for qBittorrent
|
|
LUCI_PKGARCH:=all
|
|
LUCI_DEPENDS:= \
|
|
+PACKAGE_luci-app-qbittorrent_static:qBittorrent-static \
|
|
+PACKAGE_luci-app-qbittorrent_dynamic:qbittorrent
|
|
|
|
define Package/$(PKG_NAME)/config
|
|
choice
|
|
prompt "Build Version Selection"
|
|
default PACKAGE_luci-app-qbittorrent_dynamic
|
|
|
|
config PACKAGE_luci-app-qbittorrent_static
|
|
bool "Static Build"
|
|
depends on arm||aarch64||x86_64
|
|
|
|
config PACKAGE_luci-app-qbittorrent_dynamic
|
|
bool "Dynamic Build"
|
|
|
|
endchoice
|
|
endef
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|