File tree 2 files changed +38
-0
lines changed
2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -442,6 +442,15 @@ libraries:
442
442
targets :
443
443
- 0.12.2
444
444
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
445
454
jsoncons :
446
455
check_file : README.md
447
456
repo : danielaparker/jsoncons
Original file line number Diff line number Diff line change @@ -51,6 +51,35 @@ install_openssl() {
51
51
52
52
install_openssl 1_1_1c 1_1_1g
53
53
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
+
54
83
# ########################
55
84
# cs50
56
85
You can’t perform that action at this time.
0 commit comments