CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
nss: updated to 3.76.1
[ports/opt-arm.git] / icu / Pkgfile
index a8ef17aa3613a265a522b62e39d2e429ddfc96e3..7dfcf9b5c25df56d6ad0ed1f7fd05faa99e6c8e7 100644 (file)
@@ -5,21 +5,23 @@
 # Packager: Younes Hafri, ycrux at club-internet dot fr
 
 name=icu
-version=63.1
+version=69.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