File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -442,6 +442,15 @@ libraries:
442442 targets :
443443 - 0.12.2
444444 type : github
445+ icu :
446+ build_type : manual
447+ check_file : README.md
448+ lib_type : shared
449+ repo : unicode-org/icu
450+ target_prefix : release-
451+ targets :
452+ - 71-1
453+ type : github
445454 jsoncons :
446455 check_file : README.md
447456 repo : danielaparker/jsoncons
Original file line number Diff line number Diff line change @@ -51,6 +51,35 @@ install_openssl() {
5151
5252install_openssl 1_1_1c 1_1_1g
5353
54+ # ########################
55+ # ICU
56+
57+ install_icu () {
58+ for VERSION in " $@ " ; do
59+ local DEST=${OPT} /libs/icu/${VERSION} /x86_64/opt
60+ if [[ ! -d ${DEST} ]]; then
61+ pushd /tmp
62+ fetch " https://github.com/unicode-org/icu/releases/download/release-${VERSION} /icu4c-${VERSION/ -/ _} -src.tgz" |
63+ tar zxf -
64+ pushd icu/source
65+ ./configure --prefix=${DEST}
66+ make
67+ make install
68+
69+ make clean
70+ ./configure --prefix=${DEST/ x86_64/ x86} --with-library-bits=32
71+ make
72+ make install
73+
74+ popd
75+ rm -rf icu
76+ popd
77+ fi
78+ done
79+ }
80+
81+ install_icu 71-1
82+
5483# ########################
5584# cs50
5685
You can’t perform that action at this time.
0 commit comments