wok-current rev 24223
updated perl-io-scalar (2.110 -> 2.113)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 17:25:31 2021 +0100 (2021-12-31) |
parents | b8122092e5d9 |
children | affc7e322838 |
files | perl-io-scalar/description.txt perl-io-scalar/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-io-scalar/description.txt Fri Dec 31 17:25:31 2021 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +This toolkit primarily provides modules for performing both traditional 1.5 +and object-oriented i/o) on things other than normal filehandles; 1.6 +in particular, IO::Scalar, IO::ScalarArray, and IO::Lines. 1.7 + 1.8 +In the more-traditional IO::Handle front, we have IO::AtomicFile which 1.9 +may be used to painlessly create files which are updated atomically. 1.10 + 1.11 +And in the "this-may-prove-useful" corner, we have IO::Wrap, whose 1.12 +exported wraphandle() function will clothe anything that's not a blessed 1.13 +object in an IO::Handle-like wrapper... so you can just use OO syntax 1.14 +and stop worrying about whether your function's caller handed you a string, 1.15 +a globref, or a FileHandle.
2.1 --- a/perl-io-scalar/receipt Fri Dec 31 17:15:15 2021 +0100 2.2 +++ b/perl-io-scalar/receipt Fri Dec 31 17:25:31 2021 +0100 2.3 @@ -1,17 +1,18 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="perl-io-scalar" 2.7 -VERSION="2.110" 2.8 +VERSION="2.113" 2.9 CATEGORY="development" 2.10 SHORT_DESC="IO::Scalar module is a Perl extension." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 LICENSE="GPL" 2.13 +WEB_SITE="https://metacpan.org/pod/IO::Stringy" 2.14 +REPOLOGY="perl:io-stringy" 2.15 +SOURCE="IO-Stringy" 2.16 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.17 +WGET_URL="https://www.cpan.org/modules/by-module/IO/$TARBALL" 2.18 DEPENDS="perl" 2.19 BUILD_DEPENDS="perl" 2.20 -SOURCE="IO-stringy" 2.21 -TARBALL="$SOURCE-$VERSION.tar.gz" 2.22 -WEB_SITE="https://metacpan.org/dist/IO-Stringy" 2.23 -WGET_URL="https://metacpan.org/CPAN/authors/id/D/DS/DSKOLL/$TARBALL" 2.24 2.25 current_version() 2.26 { 2.27 @@ -22,16 +23,13 @@ 2.28 # Rules to configure and make the package. 2.29 compile_rules() 2.30 { 2.31 - cd $src 2.32 perl Makefile.PL && 2.33 make && 2.34 - make DESTDIR=$DESTDIR install 2.35 + make install DESTDIR=$DESTDIR 2.36 } 2.37 2.38 # Rules to gen a SliTaz package suitable for Tazpkg. 2.39 genpkg_rules() 2.40 { 2.41 - mkdir -p $fs/usr 2.42 - cp -a $install/usr/lib $fs/usr 2.43 + cook_copy_folders lib 2.44 } 2.45 -