wok-6.x rev 24266
updated perl-unicode-maputf8 (1.11 -> 1.14)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:30:06 2022 +0100 (2022-01-02) |
parents | 54eef25fc6df |
children | 00eba47b3047 |
files | perl-unicode-maputf8/description.txt perl-unicode-maputf8/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-unicode-maputf8/description.txt Sun Jan 02 10:30:06 2022 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +Provides an adapter layer between core routines for converting to and from 1.5 +UTF8 and other encodings. 1.6 +In essence, a way to give multiple existing Unicode modules a single common 1.7 +interface so you don't have to know the underlaying implementations to do 1.8 +simple UTF8 to-from other character set encoding conversions. 1.9 +As such, it wraps the Unicode::String, Unicode::Map8, Unicode::Map and 1.10 +Jcode modules in a standardized and simple API. 1.11 + 1.12 +This also provides general character set conversion operation based on UTF8 1.13 +- it is possible to convert between any two compatible and supported 1.14 +character sets via a simple two step chaining of conversions. 1.15 + 1.16 +As with most things Perlish - if you give it a few big chunks of text to 1.17 +chew on instead of lots of small ones it will handle many more characters 1.18 +per second. 1.19 + 1.20 +By design, it can be easily extended to encompass any new charset encoding 1.21 +conversion modules that arrive on the scene. 1.22 + 1.23 +This module is intended to provide good Unicode support to versions of 1.24 +Perl prior to 5.8. 1.25 +If you are using Perl 5.8.0 or later, you probably want to be using the 1.26 +Encode module instead. 1.27 +This module does work with Perl 5.8, but Encode is the preferred method 1.28 +in that environment.
2.1 --- a/perl-unicode-maputf8/receipt Sun Jan 02 10:25:53 2022 +0100 2.2 +++ b/perl-unicode-maputf8/receipt Sun Jan 02 10:30:06 2022 +0100 2.3 @@ -1,17 +1,20 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="perl-unicode-maputf8" 2.7 -VERSION="1.11" 2.8 +VERSION="1.14" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Unicode::MapUTF8 module is a Perl extension." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 LICENSE="GPL" 2.13 +WEB_SITE="https://metacpan.org/pod/Unicode::MapUTF8" 2.14 +REPOLOGY="perl:unicode-maputf8" 2.15 + 2.16 +SOURCE="Unicode-MapUTF8" 2.17 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.18 +WGET_URL="https://www.cpan.org/modules/by-module/Unicode/$TARBALL" 2.19 + 2.20 DEPENDS="perl perl-unicode-string" 2.21 BUILD_DEPENDS="perl" 2.22 -SOURCE="Unicode-MapUTF8" 2.23 -TARBALL="$SOURCE-$VERSION.tar.gz" 2.24 -WEB_SITE="https://metacpan.org/dist/Unicode-MapUTF8" 2.25 -WGET_URL="https://metacpan.org/CPAN/authors/id/S/SN/SNOWHARE/$TARBALL" 2.26 2.27 current_version() 2.28 { 2.29 @@ -22,16 +25,13 @@ 2.30 # Rules to configure and make the package. 2.31 compile_rules() 2.32 { 2.33 - cd $src 2.34 perl Makefile.PL && 2.35 make && 2.36 - make DESTDIR=$DESTDIR install 2.37 + make install DESTDIR=$DESTDIR 2.38 } 2.39 2.40 # Rules to gen a SliTaz package suitable for Tazpkg. 2.41 genpkg_rules() 2.42 { 2.43 - mkdir -p $fs/usr 2.44 - cp -a $install/usr/lib $fs/usr 2.45 + cook_copy_folders lib 2.46 } 2.47 -