verysync: Makefile cleanups

This commit is contained in:
CN_SZTL 2021-01-10 21:32:12 +08:00
parent 3c0f586555
commit 8b63aebeec
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 3 additions and 9 deletions

View File

@ -12,6 +12,7 @@ PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/peter-tank/trojan-plus.git
PKG_SOURCE_DATE:=2020-09-06
PKG_SOURCE_VERSION:=a6394cdd718669b0c7491493a78e61f6f0f899b3
PKG_MIRROR_HASH:=2d37d09fe6d39d7981116ad387706f58f2b30b74a34e27fc5608f267dacc9208

View File

@ -28,17 +28,10 @@ ifeq ($(ARCH),powerpc64)
PKG_ARCH_VERYSYNC:=ppc64
endif
LATEST_VERSION:=$(shell curl http://www.verysync.com/shell/latest)
PKG_NAME:=verysync
ifneq ($(LATEST_VERSION),)
PKG_VERSION:=$(LATEST_VERSION)
else
PKG_VERSION:=v2.4.2
endif
PKG_RELEASE:=1
PKG_VERSION:=v2.4.2
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-linux-$(PKG_ARCH_VERYSYNC)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://dl.verysync.com/releases/$(PKG_VERSION)/