alist: bump to 3.0.3
This commit is contained in:
parent
66720927c0
commit
ce3335ca4b
@ -7,13 +7,13 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=alist
|
PKG_NAME:=alist
|
||||||
PKG_VERSION:=3.0.2
|
PKG_VERSION:=3.0.3
|
||||||
PKG_WEB_VERSION:=3.0.2
|
PKG_WEB_VERSION:=3.0.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/alist-org/alist/tar.gz/v$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/alist-org/alist/tar.gz/v$(PKG_VERSION)?
|
||||||
PKG_HASH:=a8d9af1a920f040f7c20157c90700b58cd61e568de1527b231dc0181c5d16713
|
PKG_HASH:=55c4d7c5ab50e16e2711d25403a522f251838ba4e8c1fcab0340d9ca6e42d274
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-3.0
|
PKG_LICENSE:=GPL-3.0
|
||||||
PKG_LICENSE_FILE:=LICENSE
|
PKG_LICENSE_FILE:=LICENSE
|
||||||
@ -26,7 +26,9 @@ define Download/$(PKG_NAME)-web
|
|||||||
HASH:=2cbf1a245ab477499dfd3970fb898bf2748c090045fd2e3a107a5082d385e1f8
|
HASH:=2cbf1a245ab477499dfd3970fb898bf2748c090045fd2e3a107a5082d385e1f8
|
||||||
endef
|
endef
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS:=CONFIG_ALIST_COMPRESS_UPX
|
PKG_CONFIG_DEPENDS:= \
|
||||||
|
CONFIG_ALIST_COMPRESS_GOPROXY \
|
||||||
|
CONFIG_ALIST_COMPRESS_UPX
|
||||||
|
|
||||||
PKG_BUILD_DEPENDS:=golang/host
|
PKG_BUILD_DEPENDS:=golang/host
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
@ -63,8 +65,17 @@ define Package/$(PKG_NAME)/config
|
|||||||
config ALIST_COMPRESS_UPX
|
config ALIST_COMPRESS_UPX
|
||||||
bool "Compress executable files with UPX"
|
bool "Compress executable files with UPX"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config ALIST_COMPRESS_GOPROXY
|
||||||
|
bool "Compiling with GOPROXY proxy"
|
||||||
|
default n
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_ALIST_COMPRESS_GOPROXY),y)
|
||||||
|
export GO111MODULE=on
|
||||||
|
export GOPROXY=https://mirrors.aliyun.com/goproxy/
|
||||||
|
endif
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(call Build/Prepare/Default)
|
$(call Build/Prepare/Default)
|
||||||
$(eval $(call Download,$(PKG_NAME)-web))
|
$(eval $(call Download,$(PKG_NAME)-web))
|
||||||
|
Loading…
Reference in New Issue
Block a user