wok-current rev 24262
updated perl-text-template (1.58 -> 1.60)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:18:15 2022 +0100 (2022-01-02) |
parents | c9d198607d5c |
children | 5772bae348d7 |
files | perl-text-template/description.txt perl-text-template/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-text-template/description.txt Sun Jan 02 10:18:15 2022 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +This is a library for generating form letters, building HTML pages, 1.5 +or filling in templates generally. 1.6 +A "template" is a piece of text that has little Perl programs embedded 1.7 +in it here and there. 1.8 +When you "fill in" a template, you evaluate the little programs and 1.9 +replace them with their values. 1.10 + 1.11 +You can store a template in a file outside your program. 1.12 +People can modify the template without modifying the program. 1.13 +You can separate the formatting details from the main code, and put 1.14 +the formatting parts of the program into the template. 1.15 +That prevents code bloat and encourages functional separation.
2.1 --- a/perl-text-template/receipt Sun Jan 02 10:16:08 2022 +0100 2.2 +++ b/perl-text-template/receipt Sun Jan 02 10:18:15 2022 +0100 2.3 @@ -1,12 +1,13 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="perl-text-template" 2.7 -VERSION="1.58" 2.8 +VERSION="1.60" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Perl extension Text::Template." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 LICENSE="GPL2" 2.13 -WEB_SITE="https://metacpan.org/release/Text-Template" 2.14 +WEB_SITE="https://metacpan.org/pod/Text::Template" 2.15 +REPOLOGY="perl:text-template" 2.16 2.17 SOURCE="Text-Template" 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 }