wok diff icu/receipt @ rev 24831

updated libsndfile and libsndfile-dev (1.0.28 -> 1.0.31)
author Hans-G?nter Theisgen
date Thu Mar 24 07:19:38 2022 +0100 (2022-03-24)
parents af8d823a3077
children e7bde16e8f79
line diff
     1.1 --- a/icu/receipt	Mon Feb 14 14:14:23 2022 +0000
     1.2 +++ b/icu/receipt	Thu Mar 24 07:19:38 2022 +0100
     1.3 @@ -1,16 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="icu"
     1.7 -VERSION="54.1"
     1.8 +VERSION="70.1"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="C/C++ and Java libraries providing Unicode and Globalization."
    1.11 +SHORT_DESC="C, C++ and Java libraries providing Unicode and Globalization."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -SOURCE="icu4c"
    1.15 -TARBALL="$SOURCE-${VERSION//./_}-src.tgz"
    1.16 -WEB_SITE="https://www.icu-project.org/"
    1.17 -WGET_URL="http://download.icu-project.org/files/$SOURCE/$VERSION/$TARBALL"
    1.18 -#WGET_URL="http://www.sfr-fresh.com/unix/misc/$TARBALL"
    1.19 +WEB_SITE="https://icu-unicode.org/"
    1.20 +
    1.21 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.22 +WGET_URL="https://github.com/unicode-org/$PACKAGE/archive/release-${VERSION/./-}.tar.gz"
    1.23  
    1.24  # What is the latest version available today?
    1.25  current_version()
    1.26 @@ -19,28 +18,33 @@
    1.27  	sed '/ is now available/!d;s| is now available.*||;s|ICU ||;q'
    1.28  }
    1.29  
    1.30 +DEPENDS="gcc83-lib-base"
    1.31 +BUILD_DEPENDS="gcc83"
    1.32 +
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35  {
    1.36 -	cd $src/source
    1.37 +	cd $src/icu4c/source
    1.38  	#sed -i 's/dirname -- /dirname/' configure
    1.39  	#{
    1.40 -	./configure \
    1.41 -		--disable-tests \
    1.42 -		--disable-samples \
    1.43 -		--enable-auto-cleanup \
    1.44 +	./configure			\
    1.45 +		CC=gcc-83		\
    1.46 +		CXX=g++-83		\
    1.47 +		--disable-samples	\
    1.48 +		--disable-tests		\
    1.49 +		--enable-auto-cleanup	\
    1.50  		$CONFIGURE_ARGS &&
    1.51  	make &&
    1.52 -	make DESTDIR=$DESTDIR install
    1.53 -	#} 2>&1 | sed -e 's|\(./config.*\)No such file|\1no such file|'
    1.54 +	make install DESTDIR=$DESTDIR
    1.55  }
    1.56  
    1.57  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.58  genpkg_rules()
    1.59  {
    1.60 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.61 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.62 -	cp -a $install/usr/bin $fs/usr/
    1.63 -	cp -a $install/usr/sbin $fs/usr/
    1.64 -	cp -a $install/usr/share/icu $fs/usr/share
    1.65 +	mkdir -p $fs/usr/share
    1.66 +
    1.67 +	cook_copy_folders	bin
    1.68 +	cook_copy_folders	sbin
    1.69 +	cook_copy_files		*.so*
    1.70 +	cp -a $install/usr/share/icu	$fs/usr/share
    1.71  }