wok-current rev 24532

updated expat and expat-dev (2.4.4 -> 2.4.6)
author Hans-G?nter Theisgen
date Wed Feb 23 10:55:02 2022 +0100 (2022-02-23)
parents 508bfd297019
children 4720f46b580c
files expat-dev/receipt expat/receipt
line diff
     1.1 --- a/expat-dev/receipt	Wed Feb 23 09:00:20 2022 +0100
     1.2 +++ b/expat-dev/receipt	Wed Feb 23 10:55:02 2022 +0100
     1.3 @@ -1,22 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="expat-dev"
     1.7 -VERSION="2.4.4"
     1.8 +VERSION="2.4.6"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="XML parsing library development files."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="MIT"
    1.13  WEB_SITE="https://libexpat.github.io/"
    1.14  
    1.15 +DEPENDS="expat pkg-config"
    1.16  WANTED="expat"
    1.17 -DEPENDS="expat pkg-config"
    1.18 +
    1.19  HOST_ARCH="i486 arm"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.26 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 -	cp -a $install/usr/include $fs/usr
    1.28 +	cook_copy_folders	include
    1.29 +	cook_copy_folders	pkgconfig
    1.30 +	cook_copy_files		*.*a
    1.31  }
     2.1 --- a/expat/receipt	Wed Feb 23 09:00:20 2022 +0100
     2.2 +++ b/expat/receipt	Wed Feb 23 10:55:02 2022 +0100
     2.3 @@ -1,15 +1,15 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="expat"
     2.7 -VERSION="2.4.4"
     2.8 +VERSION="2.4.6"
     2.9  CATEGORY="x-window"
    2.10 -SHORT_DESC="XML parsing C library"
    2.11 +SHORT_DESC="XML parsing C library."
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="MIT"
    2.14  WEB_SITE="https://libexpat.github.io/"
    2.15  
    2.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.19 +WGET_URL="https://github.com/libexpat/libexpat/releases/download/R_${VERSION//./_}/$TARBALL"
    2.20  
    2.21  HOST_ARCH="i486 arm"
    2.22  
    2.23 @@ -23,16 +23,16 @@
    2.24  compile_rules()
    2.25  {
    2.26  	./configure $CONFIGURE_ARGS &&
    2.27 -	make -j 1 &&
    2.28 -	make DESTDIR=$DESTDIR install
    2.29 +	make &&
    2.30 +	make install DESTDIR=$DESTDIR
    2.31  }
    2.32  
    2.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.34  genpkg_rules()
    2.35  {
    2.36 -	mkdir -p $fs/usr/lib $fs/usr/bin
    2.37 -	cp -a $install/usr/bin/* $fs/usr/bin
    2.38 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.39 +	cook_copy_folders	bin
    2.40 +	cook_copy_files		*.so*
    2.41 +
    2.42  	# expat so.0 symbolic link.
    2.43  	cd $fs/usr/lib
    2.44  	ln -s libexpat.so.1.*.* libexpat.so.0