# icu4c 77.1 — International Components for Unicode (libicuuc/libicui18n/libicudata.so). Dep transitiva
# del stack Qt/KDE (ki18n opcional, libqalculate opcional, apps con colación Unicode). C++ autotools;
# el tarball descomprime a `icu/source/` → todas las fases entran con `cd source`. musl, shared.
name    = "icu4c"
version = "77.1"

[source]
tarball = "https://github.com/unicode-org/icu/releases/download/release-77-1/icu4c-77_1-src.tgz"
sha256  = "588e431f77327c39031ffbb8843c0e3bc122c211374485fa87dc5f3faff24061"

[build]
compiler = "zig-cc"
target   = "x86_64-linux-musl"
link     = "dynamic"
flags    = []

[build.phases]
configure = '''
cd source && ./configure --prefix=/usr --enable-shared --disable-static \
  --disable-samples --disable-tests
'''
compile   = "cd source && make -j\"$(nproc)\""
install   = "cd source && make install DESTDIR=/out"

[deps]
build = ["pkgconf", "python3"]
