OSDN Git Service

xray-plugin: update to 1.5.5
[immortalwrt/packages.git] / net / xray-plugin / Makefile
1 # SPDX-License-Identifier: GPL-3.0-only
2 #
3 # Copyright (C) 2021 ImmortalWrt.org
4
5 include $(TOPDIR)/rules.mk
6
7 PKG_NAME:=xray-plugin
8 PKG_VERSION:=1.5.5
9 PKG_RELEASE:=$(AUTORELEASE)
10
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_SOURCE_URL:=https://codeload.github.com/teddysun/xray-plugin/tar.gz/v$(PKG_VERSION)?
13 PKG_HASH:=0edc575765fc3523d475f9d28d14d42facf00060fc8ef60bb50f42e0a6730496
14
15 PKG_LICENSE:=MIT
16 PKG_LICENSE_FILES:=LICENSE
17 PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
18
19 PKG_BUILD_DEPENDS:=golang/host
20 PKG_BUILD_PARALLEL:=1
21 PKG_USE_MIPS16:=0
22
23 GO_PKG:=github.com/teddysun/xray-plugin
24
25 include $(INCLUDE_DIR)/package.mk
26 include ../../lang/golang/golang-package.mk
27
28 define Package/xray-plugin
29   SECTION:=net
30   CATEGORY:=Network
31   SUBMENU:=Web Servers/Proxies
32   TITLE:=SIP003 plugin for Shadowsocks, based on Xray
33   URL:=https://github.com/teddysun/xray-plugin
34   DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle
35 endef
36
37 $(eval $(call GoBinPackage,xray-plugin))
38 $(eval $(call BuildPackage,xray-plugin))