2021-04-11 23:21:31 +02:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=libicu
|
2021-04-23 13:56:17 +02:00
|
|
|
version=69.1
|
2021-04-11 23:21:31 +02:00
|
|
|
useconfigure=true
|
|
|
|
workdir=icu/source
|
|
|
|
configopts=--with-cross-build=$(pwd)/${workdir}/../host-build
|
2021-04-25 12:20:15 +02:00
|
|
|
files="https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version//./_}-src.tgz icu4c-${version//./_}-src.tgz 4cba7b7acd1d3c42c44bb0c14be6637098c7faf2b330ce876bc5f3b915d09745"
|
|
|
|
auth_type=sha256
|
2021-04-11 23:21:31 +02:00
|
|
|
|
|
|
|
configure() {
|
|
|
|
host_env
|
|
|
|
run mkdir -p ../host-build
|
|
|
|
run sh -c "cd ../host-build && ../source/configure && make $makeopts"
|
|
|
|
target_env
|
|
|
|
run ./configure --host="${SERENITY_ARCH}-pc-serenity" $configopts
|
|
|
|
}
|
|
|
|
|
2021-05-08 20:23:06 +02:00
|
|
|
export CFLAGS="-DU_HAVE_NL_LANGINFO_CODESET=0"
|
|
|
|
export CXXFLAGS="-DU_HAVE_NL_LANGINFO_CODESET=0"
|