annotate src/icu4c.mk @ 5729:b2952339d52a

ICU4C: Update to version 69.1 * src/icu4c.mk: Update version and checksum.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 10 Apr 2021 10:36:05 +0200
parents cd129f254ecf
children 258c97855a10
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4524
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
1 PKG := icu4c
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
2 $(PKG)_IGNORE :=
5729
b2952339d52a ICU4C: Update to version 69.1
Markus Mützel <markus.muetzel@gmx.de>
parents: 5614
diff changeset
3 $(PKG)_VERSION := 69.1
b2952339d52a ICU4C: Update to version 69.1
Markus Mützel <markus.muetzel@gmx.de>
parents: 5614
diff changeset
4 $(PKG)_CHECKSUM := 620a71c84428758376baa0fb81a581c3daa866ce
4524
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
5 $(PKG)_SUBDIR := icu
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
6 $(PKG)_FILE := $(PKG)-$(subst .,_,$($(PKG)_VERSION))-src.tgz
5180
d38c89807b6c * src/icu4c.mk: update to v65.1
John Donoghue
parents: 5063
diff changeset
7 $(PKG)_URL := https://github.com/unicode-org/icu/releases/download/release-$(subst .,-,$($(PKG)_VERSION))/$($(PKG)_FILE)
4524
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
8 $(PKG)_DEPS :=
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
9
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
10 define $(PKG)_UPDATE
4891
a60cc99e743b * src/icu4c.mk: update to v63.1, implement update rule
John Donoghue
parents: 4524
diff changeset
11 $(WGET) -q -O- 'https://github.com/unicode-org/icu/tags' | \
a60cc99e743b * src/icu4c.mk: update to v63.1, implement update rule
John Donoghue
parents: 4524
diff changeset
12 $(SED) -n 's|.*releases/tag/release-\([0-9\-]*\).*|\1|p' | \
a60cc99e743b * src/icu4c.mk: update to v63.1, implement update rule
John Donoghue
parents: 4524
diff changeset
13 $(SED) 's|-|\.|g' | \
a60cc99e743b * src/icu4c.mk: update to v63.1, implement update rule
John Donoghue
parents: 4524
diff changeset
14 $(SORT) -V | \
a60cc99e743b * src/icu4c.mk: update to v63.1, implement update rule
John Donoghue
parents: 4524
diff changeset
15 tail -1
4524
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
16 endef
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
17
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
18 ifeq ($(MXE_NATIVE_BUILD),no)
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
19 define $(PKG)_BUILD
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
20 # build some native tools
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
21 mkdir '$(1).native' && cd '$(1).native' && '$(1)/source/configure'
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
22 $(MAKE) -C '$(1).native' -j '$(JOBS)'
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
23
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
24 # build cross
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
25 mkdir '$(1).cross' && cd '$(1).cross' && '$(1)/source/configure' \
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
27 $(ENABLE_SHARED_OR_STATIC) \
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
28 --prefix='$(HOST_PREFIX)' \
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
29 --with-cross-build='$(1).native' \
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
30 PKG_CONFIG='$(MXE_PKG_CONFIG)' \
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
31 PKG_CONFIG_PATH=$($(PKG)_PKG_CONFIG_PATH) \
4945
76828d146a8d icu4c.mk: Don't link with msvcr100 or force --std=gnu++0x. Set CPPFLAGS, not CFLAGS.
John W. Eaton <jwe@octave.org>
parents: 4891
diff changeset
32 CPPFLAGS='-DU_USING_ICU_NAMESPACE=0'
4524
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
33
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
34 $(MAKE) -C '$(1).cross' -j '$(JOBS)' $(MXE_DISABLE_DOCS) $(MXE_DISABLE_PROGS)
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
35 $(MAKE) -C '$(1).cross' -j 1 install $(MXE_DISABLE_DOCS) $(MXE_DISABLE_PROGS) DESTDIR='$(3)'
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
36 $(INSTALL) -d '$(3)$(HOST_BINDIR)'
5381
5482351ddcc2 * src/icu4c.mk: update to v67.1
John Donoghue <john.donoghue@ieee.org>
parents: 5351
diff changeset
37 #mv -fv $(3)$(HOST_LIBDIR)/icu*.dll '$(3)$(HOST_BINDIR)/'
4524
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
38 $(INSTALL) -d '$(3)$(BUILD_TOOLS_PREFIX)/bin/'
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
39 $(LN_SF) '$(HOST_BINDIR)/icu-config' '$(3)$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)icu-config'
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
40 endef
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
41 else
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
42 define $(PKG)_BUILD
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
43 mkdir '$(1).native' && cd '$(1).native' && '$(1)/source/configure' \
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
44 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
45 $(ENABLE_SHARED_OR_STATIC) \
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
46 PKG_CONFIG='$(MXE_PKG_CONFIG)' \
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
47 PKG_CONFIG_PATH="$(HOST_LIBDIR)/pkgconfig" \
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
48 --prefix='$(HOST_PREFIX)'
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
49 $(MAKE) -C '$(1).native' -j '$(JOBS)' $(MXE_DISABLE_DOCS) $(MXE_DISABLE_PROGS)
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
50 $(MAKE) -C '$(1).native' -j 1 install $(MXE_DISABLE_DOCS) $(MXE_DISABLE_PROGS)
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
51 endef
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
52 endif
413af27223f6 icu4c: add new package
John D
parents:
diff changeset
53