luci-app-vssr/Makefile

61 lines
2.0 KiB
Makefile
Raw Normal View History

2019-11-11 09:34:14 +08:00
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-vssr
2022-04-23 13:43:38 +08:00
PKG_VERSION:=1.25
PKG_RELEASE:=20220423
2019-11-11 09:34:14 +08:00
2021-09-05 22:30:47 +08:00
PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_Xray \
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_Trojan \
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_Kcptun \
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_Xray_plugin \
2022-06-09 10:22:21 +08:00
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_ShadowsocksR_Libev_Server \
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_Hysteria
2022-10-18 21:45:36 +08:00
2021-09-05 22:30:47 +08:00
LUCI_TITLE:=A New SS/SSR/Xray/Trojan LuCI interface
LUCI_PKGARCH:=all
LUCI_DEPENDS:=+ipset +ip-full +iptables-mod-tproxy +dnsmasq-full +coreutils +coreutils-base64 +bash +pdnsd-alt +wget-ssl +lua +luasocket +lua-maxminddb +lua-cjson \
2022-10-18 21:45:36 +08:00
+shadowsocks-libev-ss-local +shadowsocks-libev-ss-redir +shadowsocksr-libev-ssr-local +shadowsocksr-libev-ssr-redir +shadowsocksr-libev-ssr-check +simple-obfs \
+PACKAGE_$(PKG_NAME)_INCLUDE_Xray:xray-core \
+PACKAGE_$(PKG_NAME)_INCLUDE_Trojan:trojan \
+PACKAGE_$(PKG_NAME)_INCLUDE_Trojan:ipt2socks \
+PACKAGE_$(PKG_NAME)_INCLUDE_Kcptun:kcptun-client \
+PACKAGE_$(PKG_NAME)_INCLUDE_Xray_plugin:xray-plugin \
+PACKAGE_$(PKG_NAME)_INCLUDE_ShadowsocksR_Libev_Server:shadowsocksr-libev-ssr-server \
+PACKAGE_$(PKG_NAME)_INCLUDE_Hysteria:hysteria
2019-11-11 09:34:14 +08:00
define Package/$(PKG_NAME)/config
2022-10-18 21:45:36 +08:00
config PACKAGE_$(PKG_NAME)_INCLUDE_Xray
bool "Include Xray"
default y if i386||x86_64||arm||aarch64
config PACKAGE_$(PKG_NAME)_INCLUDE_Trojan
bool "Include Trojan"
default y if i386||x86_64||arm||aarch64
config PACKAGE_$(PKG_NAME)_INCLUDE_Kcptun
bool "Include Kcptun"
default n
config PACKAGE_$(PKG_NAME)_INCLUDE_Xray_plugin
bool "Include Shadowsocks Xray Plugin"
default y if i386||x86_64||arm||aarch64
config PACKAGE_$(PKG_NAME)_INCLUDE_ShadowsocksR_Libev_Server
bool "Include ShadowsocksR Libev Server"
default y if i386||x86_64||arm||aarch64
config PACKAGE_$(PKG_NAME)_INCLUDE_Hysteria
bool "Include Hysteria"
default y if i386||x86_64||arm||aarch64
2019-11-11 09:34:14 +08:00
endef
2021-09-05 22:30:47 +08:00
define Package/$(PKG_NAME)/conffiles
/etc/vssr/
/etc/config/vssr
2019-11-11 09:34:14 +08:00
endef
2021-09-05 22:30:47 +08:00
include $(TOPDIR)/feeds/luci/luci.mk
2019-11-11 09:34:14 +08:00
2021-09-05 22:30:47 +08:00
# call BuildPackage - OpenWrt buildroot signature