kenzok8-small/xray-plugin/Makefile

40 lines
1.0 KiB
Makefile
Raw Normal View History

2023-08-29 19:12:58 +08:00
# SPDX-License-Identifier: GPL-3.0-only
#
2024-02-15 23:51:26 +08:00
# Copyright (C) 2022 ImmortalWrt.org
2023-08-29 19:12:58 +08:00
include $(TOPDIR)/rules.mk
PKG_NAME:=xray-plugin
2024-07-13 00:13:54 +08:00
PKG_VERSION:=1.8.17
2023-08-29 19:12:58 +08:00
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/teddysun/xray-plugin/tar.gz/v$(PKG_VERSION)?
2024-07-13 00:13:54 +08:00
PKG_HASH:=9f9852e5bb5e5384ae848da0a8749e39430807bde9c81b33964cafd79ed28cc3
2023-08-29 19:12:58 +08:00
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
2023-10-01 01:42:14 +08:00
PKG_BUILD_FLAGS:=no-mips16
2023-08-29 19:12:58 +08:00
GO_PKG:=github.com/teddysun/xray-plugin
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk
define Package/xray-plugin
SECTION:=net
CATEGORY:=Network
SUBMENU:=Web Servers/Proxies
TITLE:=SIP003 plugin for Shadowsocks, based on Xray
URL:=https://github.com/teddysun/xray-plugin
DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle
endef
$(eval $(call GoBinPackage,xray-plugin))
$(eval $(call BuildPackage,xray-plugin))