# HG changeset patch # User Hans-G?nter Theisgen # Date 1656172246 -3600 # Node ID 774faf8d8c74d743736d2daf6091e229ea931711 # Parent eb6fc44c0c5f95dd1c775da351ca0e30d41e6637 updated pcre2 and pcre2-dev (10.34 -> 10.40) diff -r eb6fc44c0c5f -r 774faf8d8c74 pcre2-dev/receipt --- a/pcre2-dev/receipt Sat Jun 25 16:40:25 2022 +0100 +++ b/pcre2-dev/receipt Sat Jun 25 16:50:46 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="pcre2-dev" -VERSION="10.34" +VERSION="10.40" CATEGORY="development" SHORT_DESC="Perl Compatible Regular Expressions 2, development files." MAINTAINER="al.bobylev@gmail.com" @@ -16,8 +16,8 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs - - rm $fs/usr/lib/*.so* - rm -r $fs/usr/share + cook_copy_folders bin + cook_copy_folders include + cook_copy_folders pkgconfig + cook_copy_files *.*a } diff -r eb6fc44c0c5f -r 774faf8d8c74 pcre2/receipt --- a/pcre2/receipt Sat Jun 25 16:40:25 2022 +0100 +++ b/pcre2/receipt Sat Jun 25 16:50:46 2022 +0100 @@ -1,15 +1,17 @@ # SliTaz package receipt. PACKAGE="pcre2" -VERSION="10.34" +VERSION="10.40" CATEGORY="system-tools" SHORT_DESC="Perl 5 Compatible Regular Expression 2, library." MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" WEB_SITE="https://www.pcre.org/" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WGET_URL="$SF_MIRROR/pcre/$TARBALL" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/PhilipHazel/$PACKAGE/archive/refs/tags/$TARBALL" + +BUILD_DEPENDS="automake libtool" HOST_ARCH="i486 arm" @@ -24,6 +26,7 @@ # Rules to configure and make the package. compile_rules() { + ./autogen.sh && ./configure \ --prefix=/usr \ --enable-pcre2-16 \ @@ -37,13 +40,13 @@ for i in $(find $install/usr/share/man -type l) do dest=$(readlink $i) - rm $i; ln -s $dest.gz $i.gz + rm $i + ln -s $dest.gz $i.gz done } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib + cook_copy_files *.so* }