wok diff pcre2/receipt @ rev 25362

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 28 07:24:59 2022 +0000 (2022-07-28)
parents 080c1dff8494
children 5db546345599
line diff
     1.1 --- a/pcre2/receipt	Tue Feb 08 12:15:27 2022 +0000
     1.2 +++ b/pcre2/receipt	Thu Jul 28 07:24:59 2022 +0000
     1.3 @@ -1,15 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pcre2"
     1.7 -VERSION="10.34"
     1.8 +VERSION="10.40"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Perl 5 Compatible Regular Expression 2, library."
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12  LICENSE="BSD"
    1.13  WEB_SITE="https://www.pcre.org/"
    1.14  
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WGET_URL="$SF_MIRROR/pcre/$TARBALL"
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 +WGET_URL="https://github.com/PhilipHazel/$PACKAGE/archive/refs/tags/$TARBALL"
    1.19 +
    1.20 +BUILD_DEPENDS="automake libtool"
    1.21  
    1.22  HOST_ARCH="i486 arm"
    1.23  
    1.24 @@ -24,6 +26,7 @@
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 +	./autogen.sh &&
    1.29  	./configure			\
    1.30  		--prefix=/usr		\
    1.31  		--enable-pcre2-16	\
    1.32 @@ -37,13 +40,13 @@
    1.33  	for i in $(find $install/usr/share/man -type l)
    1.34  	  do
    1.35  		dest=$(readlink $i)
    1.36 -		rm $i; ln -s $dest.gz $i.gz
    1.37 +		rm $i
    1.38 +		ln -s $dest.gz $i.gz
    1.39  	  done
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45 -	mkdir -p $fs/usr/lib
    1.46 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.47 +	cook_copy_files	*.so*
    1.48  }