mirror of https://git.wownero.com/dsc/mxe.git
icu4c: Fix urls and update
This commit is contained in:
parent
004a235be8
commit
17bcefd361
13
src/icu4c.mk
13
src/icu4c.mk
|
@ -1,7 +1,7 @@
|
|||
# This file is part of MXE. See LICENSE.md for licensing information.
|
||||
|
||||
PKG := icu4c
|
||||
$(PKG)_WEBSITE := https://ssl.icu-project.org/
|
||||
$(PKG)_WEBSITE := http://site.icu-project.org/
|
||||
$(PKG)_DESCR := ICU4C
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 56.1
|
||||
|
@ -9,15 +9,14 @@ $(PKG)_MAJOR := $(word 1,$(subst ., ,$($(PKG)_VERSION)))
|
|||
$(PKG)_CHECKSUM := 3a64e9105c734dcf631c0b3ed60404531bce6c0f5a64bfe1a6402a4cc2314816
|
||||
$(PKG)_SUBDIR := icu
|
||||
$(PKG)_FILE := $(PKG)-$(subst .,_,$($(PKG)_VERSION))-src.tgz
|
||||
$(PKG)_URL := https://ssl.icu-project.org/files/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
|
||||
$(PKG)_URL := https://sourceforge.net/projects/icu/files/ICU4C/$($(PKG)_VERSION)/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS := cc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://bugs.icu-project.org/trac/browser/icu/tags' | \
|
||||
$(SED) -n 's,.*release-\([0-9-]*\)<.*,\1,p' | \
|
||||
tr '-' '.' | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
$(WGET) -q -O- 'https://sourceforge.net/projects/icu/files/ICU4C/' | \
|
||||
$(SED) -n 's,.*/projects/.*/.*/.*/\([0-9]\+[^"]*\)/".*,\1,p' | \
|
||||
$(SORT) -Vr | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD_COMMON
|
||||
|
|
Loading…
Reference in New Issue