wok-current rev 24231
updated perl-json-pp (4.04 -> 4.07)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 06:50:51 2022 +0100 (2022-01-02) |
parents | 0971f54dd46b |
children | d7b3e84eb70e |
files | perl-json-pp/description.txt perl-json-pp/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-json-pp/description.txt Sun Jan 02 06:50:51 2022 +0100 1.3 @@ -0,0 +1,16 @@ 1.4 +JSON::PP is a pure perl JSON decoder and encoder, and (almost) compatible 1.5 +to much faster JSON::XS written by Marc Lehmann in C. 1.6 +JSON::PP works as a fallback module when you use JSON module without 1.7 +having installed JSON::XS. 1.8 + 1.9 +Because of this fallback feature of JSON.pm, JSON::PP tries not to be 1.10 +more JavaScript-friendly than JSON::XS (i.e. not to escape extra 1.11 +characters such as U+2028 and U+2029, etc), in order for you not to lose 1.12 +such JavaScript-friendliness silently when you use JSON.pm and install 1.13 +JSON::XS for speed or by accident. 1.14 +If you need JavaScript-friendly RFC7159-compliant pure perl module, 1.15 +try JSON::Tiny, which is derived from Mojolicious web framework and is 1.16 +also smaller and faster than JSON::PP. 1.17 + 1.18 +JSON::PP has been in the Perl core since Perl 5.14, mainly for CPAN 1.19 +toolchain modules to parse META.json.
2.1 --- a/perl-json-pp/receipt Sun Jan 02 06:47:59 2022 +0100 2.2 +++ b/perl-json-pp/receipt Sun Jan 02 06:50:51 2022 +0100 2.3 @@ -1,12 +1,13 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="perl-json-pp" 2.7 -VERSION="4.04" 2.8 +VERSION="4.07" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Perl extension JSON::PP." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 LICENSE="GPL" 2.13 -WEB_SITE="https://metacpan.org/release/JSON-PP" 2.14 +WEB_SITE="https://metacpan.org/pod/JSON::PP" 2.15 +REPOLOGY="perl:json-pp" 2.16 2.17 SOURCE="JSON-PP" 2.18 TARBALL="$SOURCE-$VERSION.tar.gz" 2.19 @@ -26,12 +27,11 @@ 2.20 { 2.21 perl Makefile.PL && 2.22 make && 2.23 - make DESTDIR=$DESTDIR install 2.24 + make install DESTDIR=$DESTDIR 2.25 } 2.26 2.27 # Rules to gen a SliTaz package suitable for Tazpkg. 2.28 genpkg_rules() 2.29 { 2.30 - mkdir -p $fs/usr 2.31 - cp -a $install/usr/lib $fs/usr 2.32 + cook_copy_folders lib 2.33 }