wok rev 24450

updated icu and icu-dev (54.1 -> 70.1)
author Hans-G?nter Theisgen
date Tue Feb 15 13:56:20 2022 +0100 (2022-02-15)
parents c31dd9c348cb
children e8070450126d
files icu-dev/receipt icu/description.txt icu/receipt
line diff
     1.1 --- a/icu-dev/receipt	Tue Feb 15 11:04:54 2022 +0100
     1.2 +++ b/icu-dev/receipt	Tue Feb 15 13:56:20 2022 +0100
     1.3 @@ -1,21 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="icu-dev"
     1.7 -VERSION="54.1"
     1.8 +VERSION="70.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Devel files for ICU lib."
    1.11 -WANTED="icu"
    1.12 +SHORT_DESC="Development files for ICU lib."
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="MIT"
    1.15 -WEB_SITE="https://www.icu-project.org/"
    1.16 +WEB_SITE="https://icu-unicode.org/"
    1.17  
    1.18 -DEPENDS="icu pkg-config gcc-lib-base"
    1.19 +DEPENDS="gcc83-lib-base icu pkg-config"
    1.20 +WANTED="icu"
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25  	mkdir -p $fs/usr/lib
    1.26 -	cp -a $install/usr/include $fs/usr
    1.27 -	cp -a $install/usr/lib/icu $fs/usr/lib
    1.28 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.29 +	cook_copy_folders	include
    1.30 +	cp -a $install/usr/lib/icu	$fs/usr/lib
    1.31 +	cook_copy_folders	pkgconfig
    1.32  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/icu/description.txt	Tue Feb 15 13:56:20 2022 +0100
     2.3 @@ -0,0 +1,5 @@
     2.4 +ICU is a mature, widely used set of C/C++ and Java libraries
     2.5 +providing Unicode and Globalization support for software
     2.6 +applications.
     2.7 +ICU is widely portable and gives applications the same results
     2.8 +on all platforms and between C/C++ and Java software.
     3.1 --- a/icu/receipt	Tue Feb 15 11:04:54 2022 +0100
     3.2 +++ b/icu/receipt	Tue Feb 15 13:56:20 2022 +0100
     3.3 @@ -1,16 +1,15 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="icu"
     3.7 -VERSION="54.1"
     3.8 +VERSION="70.1"
     3.9  CATEGORY="system-tools"
    3.10 -SHORT_DESC="C/C++ and Java libraries providing Unicode and Globalization."
    3.11 +SHORT_DESC="C, C++ and Java libraries providing Unicode and Globalization."
    3.12  MAINTAINER="pankso@slitaz.org"
    3.13  LICENSE="MIT"
    3.14 -SOURCE="icu4c"
    3.15 -TARBALL="$SOURCE-${VERSION//./_}-src.tgz"
    3.16 -WEB_SITE="https://www.icu-project.org/"
    3.17 -WGET_URL="http://download.icu-project.org/files/$SOURCE/$VERSION/$TARBALL"
    3.18 -#WGET_URL="http://www.sfr-fresh.com/unix/misc/$TARBALL"
    3.19 +WEB_SITE="https://icu-unicode.org/"
    3.20 +
    3.21 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.22 +WGET_URL="https://github.com/unicode-org/$PACKAGE/archive/release-${VERSION/./-}.tar.gz"
    3.23  
    3.24  # What is the latest version available today?
    3.25  current_version()
    3.26 @@ -19,28 +18,33 @@
    3.27  	sed '/ is now available/!d;s| is now available.*||;s|ICU ||;q'
    3.28  }
    3.29  
    3.30 +DEPENDS="gcc83-lib-base"
    3.31 +BUILD_DEPENDS="gcc83"
    3.32 +
    3.33  # Rules to configure and make the package.
    3.34  compile_rules()
    3.35  {
    3.36 -	cd $src/source
    3.37 +	cd $src/icu4c/source
    3.38  	#sed -i 's/dirname -- /dirname/' configure
    3.39  	#{
    3.40 -	./configure \
    3.41 -		--disable-tests \
    3.42 -		--disable-samples \
    3.43 -		--enable-auto-cleanup \
    3.44 +	./configure			\
    3.45 +		CC=gcc-83		\
    3.46 +		CXX=g++-83		\
    3.47 +		--disable-samples	\
    3.48 +		--disable-tests		\
    3.49 +		--enable-auto-cleanup	\
    3.50  		$CONFIGURE_ARGS &&
    3.51  	make &&
    3.52 -	make DESTDIR=$DESTDIR install
    3.53 -	#} 2>&1 | sed -e 's|\(./config.*\)No such file|\1no such file|'
    3.54 +	make install DESTDIR=$DESTDIR
    3.55  }
    3.56  
    3.57  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.58  genpkg_rules()
    3.59  {
    3.60 -	mkdir -p $fs/usr/lib $fs/usr/share
    3.61 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.62 -	cp -a $install/usr/bin $fs/usr/
    3.63 -	cp -a $install/usr/sbin $fs/usr/
    3.64 -	cp -a $install/usr/share/icu $fs/usr/share
    3.65 +	mkdir -p $fs/usr/share
    3.66 +
    3.67 +	cook_copy_folders	bin
    3.68 +	cook_copy_folders	sbin
    3.69 +	cook_copy_files		*.so*
    3.70 +	cp -a $install/usr/share/icu	$fs/usr/share
    3.71  }