mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-18 17:33:31 +00:00
verysync: add auto select latest version support (#4790)
This commit is contained in:
parent
55c5c30b48
commit
f4e6ac28a7
@ -28,8 +28,16 @@ ifeq ($(ARCH),powerpc64)
|
||||
PKG_ARCH_VERYSYNC:=ppc64
|
||||
endif
|
||||
|
||||
LATEST_VERSION:=$(shell curl http://www.verysync.com/shell/latest)
|
||||
|
||||
PKG_NAME:=verysync
|
||||
PKG_VERSION:=v1.4.3
|
||||
|
||||
ifneq ($(LATEST_VERSION),)
|
||||
PKG_VERSION:=$(LATEST_VERSION)
|
||||
else
|
||||
PKG_VERSION:=v1.4.3
|
||||
endif
|
||||
|
||||
PKG_RELEASE:=1
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE:=$(PKG_NAME)-linux-$(PKG_ARCH_VERYSYNC)-$(PKG_VERSION).tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user