wok diff expat/receipt @ rev 25161

created recipe for py3k-pillow
author Hans-G?nter Theisgen
date Fri Jul 01 10:04:47 2022 +0100 (2022-07-01)
parents 3615521be14e
children 81fc994927a6
line diff
     1.1 --- a/expat/receipt	Wed Feb 02 09:41:22 2022 +0000
     1.2 +++ b/expat/receipt	Fri Jul 01 10:04:47 2022 +0100
     1.3 @@ -1,15 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="expat"
     1.7 -VERSION="2.4.4"
     1.8 +VERSION="2.4.6"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="XML parsing C library"
    1.11 +SHORT_DESC="XML parsing C library."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="MIT"
    1.14  WEB_SITE="https://libexpat.github.io/"
    1.15  
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 +WGET_URL="https://github.com/libexpat/libexpat/releases/download/R_${VERSION//./_}/$TARBALL"
    1.20  
    1.21  HOST_ARCH="i486 arm"
    1.22  
    1.23 @@ -23,16 +23,16 @@
    1.24  compile_rules()
    1.25  {
    1.26  	./configure $CONFIGURE_ARGS &&
    1.27 -	make -j 1 &&
    1.28 -	make DESTDIR=$DESTDIR install
    1.29 +	make &&
    1.30 +	make install DESTDIR=$DESTDIR
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	mkdir -p $fs/usr/lib $fs/usr/bin
    1.37 -	cp -a $install/usr/bin/* $fs/usr/bin
    1.38 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.39 +	cook_copy_folders	bin
    1.40 +	cook_copy_files		*.so*
    1.41 +
    1.42  	# expat so.0 symbolic link.
    1.43  	cd $fs/usr/lib
    1.44  	ln -s libexpat.so.1.*.* libexpat.so.0