wok-current rev 24237
updated perl-maketext-gettext (1.26 -> 1.32)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 07:13:31 2022 +0100 (2022-01-02) |
parents | 4fa9aa1999b8 |
children | 1cd78f74c2f3 |
files | perl-maketext-gettext/description.txt perl-maketext-gettext/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-maketext-gettext/description.txt Sun Jan 02 07:13:31 2022 +0100 1.3 @@ -0,0 +1,15 @@ 1.4 +Locale::Maketext::Gettext joins the GNU gettext and Maketext frameworks. 1.5 +It is a subclass of Locale::Maketext(3) that follows the way GNU gettext works. 1.6 +It works seamlessly, both in the sense of GNU gettext and Maketext. 1.7 +As a result, you enjoy both their advantages, and get rid of both their 1.8 +problems, too. 1.9 + 1.10 +You start as a usual GNU gettext localization project: 1.11 +Work on PO files with the help of translators, reviewers and Emacs. 1.12 +Turn them into MO files with msgfmt. 1.13 +Copy them into the appropriate locale directory, such as 1.14 +/usr/share/locale/de/LC_MESSAGES/myapp.mo. 1.15 + 1.16 +Then, build your Maketext localization class, with your base class 1.17 +changed from Locale::Maketext(3) to Locale::Maketext::Gettext. 1.18 +That is all.
2.1 --- a/perl-maketext-gettext/receipt Sun Jan 02 07:09:29 2022 +0100 2.2 +++ b/perl-maketext-gettext/receipt Sun Jan 02 07:13:31 2022 +0100 2.3 @@ -1,17 +1,18 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="perl-maketext-gettext" 2.7 -VERSION="1.26" 2.8 +VERSION="1.32" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Perl gettext and Maketext frameworks" 2.11 MAINTAINER="erjo@slitaz.org" 2.12 LICENSE="GPL3" 2.13 +WEB_SITE="https://metacpan.org/pod/Locale::Maketext::Gettext" 2.14 +RPOLOGYE="perl:locale-maketext-gettext" 2.15 +SOURCE="Locale-Maketext-Gettext" 2.16 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.17 +WGET_URL="https://www.cpan.org/modules/by-module/Locale/$TARBALL" 2.18 DEPENDS="perl" 2.19 BUILD_DEPENDS="perl" 2.20 -SOURCE="Locale-Maketext-Gettext" 2.21 -TARBALL="$SOURCE-$VERSION.tar.gz" 2.22 -WEB_SITE="https://metacpan.org/dist/Locale-Maketext-Gettext" 2.23 -WGET_URL="https://metacpan.org/CPAN/authors/id/I/IM/IMACAT/$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 + perl Makefile.PL && 2.36 + make && 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 -