cloudreve: Update to 3.5.1
Removed statik which was deprecated by the project. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
6301930e35
commit
f5401ff6dc
1 changed files with 4 additions and 7 deletions
|
@ -5,19 +5,19 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=cloudreve
|
PKG_NAME:=cloudreve
|
||||||
PKG_VERSION:=3.4.2
|
PKG_VERSION:=3.5.1
|
||||||
PKG_RELEASE:=$(AUTORELEASE)
|
PKG_RELEASE:=$(AUTORELEASE)
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://github.com/cloudreve/Cloudreve.git
|
PKG_SOURCE_URL:=https://github.com/cloudreve/Cloudreve.git
|
||||||
PKG_SOURCE_VERSION:=$(PKG_VERSION)
|
PKG_SOURCE_VERSION:=$(PKG_VERSION)
|
||||||
PKG_MIRROR_HASH:=7ceda70ae80582df46e0f110ad5d21c825aadcd75441be3e39c714e0c7d3ba19
|
PKG_MIRROR_HASH:=d9892bf18c4e6af65d233d1263d873e94baf6ab55fa25438457800ae2e418642
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-3.0-only
|
PKG_LICENSE:=GPL-3.0-only
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
|
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
|
||||||
|
|
||||||
PKG_BUILD_DEPENDS:=golang/host node/host node-yarn/host statik/host
|
PKG_BUILD_DEPENDS:=golang/host node/host node-yarn/host
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
PKG_USE_MIPS16:=0
|
PKG_USE_MIPS16:=0
|
||||||
|
|
||||||
|
@ -45,12 +45,9 @@ endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
( \
|
( \
|
||||||
pushd $(PKG_BUILD_DIR) ; \
|
pushd $(PKG_BUILD_DIR)/assets ; \
|
||||||
cd assets ; \
|
|
||||||
yarn install ; \
|
yarn install ; \
|
||||||
yarn run build ; \
|
yarn run build ; \
|
||||||
cd ../ ; \
|
|
||||||
statik -src=assets/build/ -include=*.html,*.js,*.json,*.css,*.png,*.svg,*.ico -f ; \
|
|
||||||
popd ; \
|
popd ; \
|
||||||
$(call GoPackage/Build/Compile) ; \
|
$(call GoPackage/Build/Compile) ; \
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue