# HG changeset patch # User Hans-G?nter Theisgen # Date 1644929780 -3600 # Node ID 303da0a92933d564f478b5314d3fd3ed6736345c # Parent c31dd9c348cb975479dd9d19e3768173cf2be833 updated icu and icu-dev (54.1 -> 70.1) diff -r c31dd9c348cb -r 303da0a92933 icu-dev/receipt --- a/icu-dev/receipt Tue Feb 15 11:04:54 2022 +0100 +++ b/icu-dev/receipt Tue Feb 15 13:56:20 2022 +0100 @@ -1,21 +1,21 @@ # SliTaz package receipt. PACKAGE="icu-dev" -VERSION="54.1" +VERSION="70.1" CATEGORY="development" -SHORT_DESC="Devel files for ICU lib." -WANTED="icu" +SHORT_DESC="Development files for ICU lib." MAINTAINER="pankso@slitaz.org" LICENSE="MIT" -WEB_SITE="https://www.icu-project.org/" +WEB_SITE="https://icu-unicode.org/" -DEPENDS="icu pkg-config gcc-lib-base" +DEPENDS="gcc83-lib-base icu pkg-config" +WANTED="icu" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/icu $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cook_copy_folders include + cp -a $install/usr/lib/icu $fs/usr/lib + cook_copy_folders pkgconfig } diff -r c31dd9c348cb -r 303da0a92933 icu/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/icu/description.txt Tue Feb 15 13:56:20 2022 +0100 @@ -0,0 +1,5 @@ +ICU is a mature, widely used set of C/C++ and Java libraries +providing Unicode and Globalization support for software +applications. +ICU is widely portable and gives applications the same results +on all platforms and between C/C++ and Java software. diff -r c31dd9c348cb -r 303da0a92933 icu/receipt --- a/icu/receipt Tue Feb 15 11:04:54 2022 +0100 +++ b/icu/receipt Tue Feb 15 13:56:20 2022 +0100 @@ -1,16 +1,15 @@ # SliTaz package receipt. PACKAGE="icu" -VERSION="54.1" +VERSION="70.1" CATEGORY="system-tools" -SHORT_DESC="C/C++ and Java libraries providing Unicode and Globalization." +SHORT_DESC="C, C++ and Java libraries providing Unicode and Globalization." MAINTAINER="pankso@slitaz.org" LICENSE="MIT" -SOURCE="icu4c" -TARBALL="$SOURCE-${VERSION//./_}-src.tgz" -WEB_SITE="https://www.icu-project.org/" -WGET_URL="http://download.icu-project.org/files/$SOURCE/$VERSION/$TARBALL" -#WGET_URL="http://www.sfr-fresh.com/unix/misc/$TARBALL" +WEB_SITE="https://icu-unicode.org/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/unicode-org/$PACKAGE/archive/release-${VERSION/./-}.tar.gz" # What is the latest version available today? current_version() @@ -19,28 +18,33 @@ sed '/ is now available/!d;s| is now available.*||;s|ICU ||;q' } +DEPENDS="gcc83-lib-base" +BUILD_DEPENDS="gcc83" + # Rules to configure and make the package. compile_rules() { - cd $src/source + cd $src/icu4c/source #sed -i 's/dirname -- /dirname/' configure #{ - ./configure \ - --disable-tests \ - --disable-samples \ - --enable-auto-cleanup \ + ./configure \ + CC=gcc-83 \ + CXX=g++-83 \ + --disable-samples \ + --disable-tests \ + --enable-auto-cleanup \ $CONFIGURE_ARGS && make && - make DESTDIR=$DESTDIR install - #} 2>&1 | sed -e 's|\(./config.*\)No such file|\1no such file|' + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/bin $fs/usr/ - cp -a $install/usr/sbin $fs/usr/ - cp -a $install/usr/share/icu $fs/usr/share + mkdir -p $fs/usr/share + + cook_copy_folders bin + cook_copy_folders sbin + cook_copy_files *.so* + cp -a $install/usr/share/icu $fs/usr/share }