wok rev 24230

updated perl-json (4.02 -> 4.04)
author Hans-G?nter Theisgen
date Sun Jan 02 06:47:59 2022 +0100 (2022-01-02)
parents 99179f7971d4
children f9c7aea3d4f2
files perl-json/description.txt perl-json/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-json/description.txt	Sun Jan 02 06:47:59 2022 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +This module is a thin wrapper for JSON::XS-compatible modules with
     1.5 +a few additional features.
     1.6 +All the backend modules convert a Perl data structure to a JSON text
     1.7 +and vice versa.
     1.8 +This module uses JSON::XS by default, and when JSON::XS is not available,
     1.9 +falls back on JSON::PP, which is in the Perl core since 5.14.
    1.10 +If JSON::PP is not available either, this module then falls back on
    1.11 +JSON::backportPP (which is actually JSON::PP in a different .pm file)
    1.12 +bundled in the same distribution as this module.
    1.13 +You can also explicitly specify to use Cpanel::JSON::XS, a fork of
    1.14 +JSON::XS by Reini Urban.
    1.15 +
    1.16 +All these backend modules have slight incompatibilities between them,
    1.17 +including extra features that other modules don't support, but as long as
    1.18 +you use only common features (most important ones are described below),
    1.19 +migration from backend to backend should be reasonably easy.
    1.20 +For details, see each backend module you use.
     2.1 --- a/perl-json/receipt	Sun Jan 02 06:42:11 2022 +0100
     2.2 +++ b/perl-json/receipt	Sun Jan 02 06:47:59 2022 +0100
     2.3 @@ -1,12 +1,13 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="perl-json"
     2.7 -VERSION="4.02"
     2.8 +VERSION="4.04"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Perl Module JSON."
    2.11  MAINTAINER="nneul@neulinger.org"
    2.12 -LICENSE="Artistic"
    2.13 -WEB_SITE="https://metacpan.org/release/JSON/"
    2.14 +LICENSE="GPL"
    2.15 +WEB_SITE="https://metacpan.org/pod/JSON"
    2.16 +REPOLOGY="perl:json"
    2.17  
    2.18  SOURCE="JSON"
    2.19  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.20 @@ -26,15 +27,13 @@
    2.21  {
    2.22  	perl Makefile.PL &&
    2.23  	make && 
    2.24 -	make DESTDIR=$DESTDIR install
    2.25 +	make install DESTDIR=$DESTDIR
    2.26  }
    2.27  
    2.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.29  genpkg_rules()
    2.30  {
    2.31 -	mkdir -p $fs/usr
    2.32 -	cp -a $install/usr/lib	$fs/usr
    2.33 -
    2.34 +	cook_copy_folders	lib
    2.35  	# remove perllocal.pod and .packlist
    2.36  	find $fs -name perllocal.pod -delete
    2.37  	find $fs -name .packlist -delete