wok rev 25117

updated pcre2 and pcre2-dev (10.34 -> 10.40)
author Hans-G?nter Theisgen
date Sat Jun 25 16:50:46 2022 +0100 (2022-06-25)
parents eb6fc44c0c5f
children 4f225ad3e12e
files pcre2-dev/receipt pcre2/receipt
line diff
     1.1 --- a/pcre2-dev/receipt	Sat Jun 25 16:40:25 2022 +0100
     1.2 +++ b/pcre2-dev/receipt	Sat Jun 25 16:50:46 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pcre2-dev"
     1.7 -VERSION="10.34"
     1.8 +VERSION="10.40"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Perl Compatible Regular Expressions 2, development files."
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -16,8 +16,8 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	cp -a $install/*	$fs
    1.17 -
    1.18 -	rm			$fs/usr/lib/*.so*
    1.19 -	rm -r			$fs/usr/share
    1.20 +	cook_copy_folders	bin
    1.21 +	cook_copy_folders	include
    1.22 +	cook_copy_folders	pkgconfig
    1.23 +	cook_copy_files		*.*a
    1.24  }
     2.1 --- a/pcre2/receipt	Sat Jun 25 16:40:25 2022 +0100
     2.2 +++ b/pcre2/receipt	Sat Jun 25 16:50:46 2022 +0100
     2.3 @@ -1,15 +1,17 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="pcre2"
     2.7 -VERSION="10.34"
     2.8 +VERSION="10.40"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Perl 5 Compatible Regular Expression 2, library."
    2.11  MAINTAINER="al.bobylev@gmail.com"
    2.12  LICENSE="BSD"
    2.13  WEB_SITE="https://www.pcre.org/"
    2.14  
    2.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.16 -WGET_URL="$SF_MIRROR/pcre/$TARBALL"
    2.17 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18 +WGET_URL="https://github.com/PhilipHazel/$PACKAGE/archive/refs/tags/$TARBALL"
    2.19 +
    2.20 +BUILD_DEPENDS="automake libtool"
    2.21  
    2.22  HOST_ARCH="i486 arm"
    2.23  
    2.24 @@ -24,6 +26,7 @@
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 +	./autogen.sh &&
    2.29  	./configure			\
    2.30  		--prefix=/usr		\
    2.31  		--enable-pcre2-16	\
    2.32 @@ -37,13 +40,13 @@
    2.33  	for i in $(find $install/usr/share/man -type l)
    2.34  	  do
    2.35  		dest=$(readlink $i)
    2.36 -		rm $i; ln -s $dest.gz $i.gz
    2.37 +		rm $i
    2.38 +		ln -s $dest.gz $i.gz
    2.39  	  done
    2.40  }
    2.41  
    2.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.43  genpkg_rules()
    2.44  {
    2.45 -	mkdir -p $fs/usr/lib
    2.46 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.47 +	cook_copy_files	*.so*
    2.48  }