CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
nspr: updated to 4.34.1
[ports/opt-arm.git] / icu / Pkgfile
index b528afe27cf7ba6eec6489c4f3fb112e39cd842b..d5f6c33517200e86f1c7d546914bdfcc33bb530b 100644 (file)
@@ -5,21 +5,23 @@
 # Packager: Younes Hafri, ycrux at club-internet dot fr
 
 name=icu
-version=64.2
+version=71.1
 release=1
-source=(https://ssl.icu-project.org/files/icu4c/$version/icu4c-${version//./_}-src.tgz)
+source=(https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version/./_}-src.tgz
+        icudata-stdlibs.patch)
 
 build() {
   cd icu/source
 
+  patch -p2 -i $SRC/icudata-stdlibs.patch
+
   # icu tries to use clang by default
   [ "$CC" ] || export CC=gcc
   [ "$CXX" ] || export CXX=g++
 
-  sed -i -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" config/mh-linux
-
   ./configure \
     --prefix=/usr \
+    --mandir=/usr/share/man \
     --disable-samples \
     --disable-tests