49 lines
1.6 KiB
Makefile
49 lines
1.6 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-app-ssr-plus
|
|
PKG_VERSION:=177
|
|
PKG_RELEASE:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)/config
|
|
config PACKAGE_$(PKG_NAME)_INCLUDE_V2ray_plugin
|
|
bool "Include Shadowsocks V2ray Plugin"
|
|
default y if i386||x86_64||arm||aarch64
|
|
|
|
config PACKAGE_$(PKG_NAME)_INCLUDE_V2ray
|
|
bool "Include V2ray"
|
|
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_Redsocks2
|
|
bool "Include Redsocks2"
|
|
default y if i386||x86_64||arm||aarch64
|
|
|
|
config PACKAGE_$(PKG_NAME)_INCLUDE_Kcptun
|
|
bool "Include Kcptun"
|
|
default n
|
|
|
|
config PACKAGE_$(PKG_NAME)_INCLUDE_ShadowsocksR_Server
|
|
bool "Include ShadowsocksR Server"
|
|
default y if i386||x86_64||arm||aarch64
|
|
endef
|
|
|
|
LUCI_TITLE:=SS/SSR/V2Ray/Trojan LuCI interface
|
|
LUCI_PKGARCH:=all
|
|
LUCI_DEPENDS:=+shadowsocksr-libev-alt +ipset +ip-full +iptables-mod-tproxy +dnsmasq-full +coreutils +coreutils-base64 +pdnsd-alt +wget +lua +libuci-lua \
|
|
+microsocks +dns2socks +shadowsocks-libev-ss-local +shadowsocksr-libev-ssr-local +shadowsocks-libev-ss-redir +simple-obfs +tcpping \
|
|
+PACKAGE_$(PKG_NAME)_INCLUDE_V2ray_plugin:v2ray-plugin \
|
|
+PACKAGE_$(PKG_NAME)_INCLUDE_V2ray:v2ray \
|
|
+PACKAGE_$(PKG_NAME)_INCLUDE_Trojan:trojan \
|
|
+PACKAGE_$(PKG_NAME)_INCLUDE_Trojan:ipt2socks \
|
|
+PACKAGE_$(PKG_NAME)_INCLUDE_Redsocks2:redsocks2 \
|
|
+PACKAGE_$(PKG_NAME)_INCLUDE_Kcptun:kcptun-client \
|
|
+PACKAGE_$(PKG_NAME)_INCLUDE_ShadowsocksR_Server:shadowsocksr-libev-server
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|