Squashed 'luci-app-smartdns/' changes from 2d56f2a..416354b

416354b Add smartdns-ui optional selection for luci-app-smartdns in LuCI menu
2f35495 luci: fix missing `fs.exec_direct` method on some systems (#82)
1d80303 luci: adapt to smartdns-ui (#80)

git-subtree-dir: luci-app-smartdns
git-subtree-split: 416354bc696faf68730c10532ad24bceadfe4083
This commit is contained in:
bgme 2025-07-03 18:52:35 +00:00
parent e9b8416aed
commit 54d3a69d8f
4 changed files with 381 additions and 292 deletions

View file

@ -4,23 +4,32 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-smartdns
PKG_VERSION:=1.2025.47.2
PKG_RELEASE:=2
PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Nick Peng <pymumu@gmail.com>
PKG_VERSION:=1.2025.47.2
PKG_RELEASE:=1
LUCI_TITLE:=LuCI for smartdns
LUCI_DESCRIPTION:=Provides Luci for smartdns
LUCI_DEPENDS:=+smartdns
LUCI_PKGARCH:=all
LUCI_DEPENDS:=+luci-base +smartdns \
+PACKAGE_$(PKG_NAME)_INCLUDE_smartdns_ui:smartdns-ui
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)/config
# shown in make menuconfig <Help>
help
$(LUCI_TITLE)
Version: $(PKG_VERSION)-$(PKG_RELEASE)
config PACKAGE_$(PKG_NAME)_INCLUDE_smartdns_ui
bool "Include smartdns-ui"
default n
endef
include ../../luci.mk
include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot signature