X-Git-Url: http://gitweb/?a=blobdiff_plain;f=icu%2FPkgfile;h=7dfcf9b5c25df56d6ad0ed1f7fd05faa99e6c8e7;hb=8064f84c999664a70a0aa76b115dd6150ee6b3e4;hp=fed2e2a498d3708da48ee8ec356ed4ba0a979649;hpb=b295581a81c1a91ba085624a9eabb9e0ccda73ba;p=ports%2Fopt-arm.git diff --git a/icu/Pkgfile b/icu/Pkgfile index fed2e2a..7dfcf9b 100644 --- a/icu/Pkgfile +++ b/icu/Pkgfile @@ -5,20 +5,26 @@ # Packager: Younes Hafri, ycrux at club-internet dot fr name=icu -version=56.1 +version=69.1 release=1 -source=(http://download.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 - sed -i -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" config/mh-linux + + patch -p2 -i $SRC/icudata-stdlibs.patch + + # icu tries to use clang by default + [ "$CC" ] || export CC=gcc + [ "$CXX" ] || export CXX=g++ + ./configure \ --prefix=/usr \ + --mandir=/usr/share/man \ --disable-samples \ --disable-tests make - make DESTDIR=$PKG install - - rm $PKG/usr/share/icu/$version/license.html + make -j1 DESTDIR=$PKG install }