# HG changeset patch # User Hans-G?nter Theisgen # Date 1641104011 -3600 # Node ID c09183e8534a69eb1e9d4d00de6c853fd00f17ee # Parent 4fa9aa1999b8692a6466e3450381b2b50827cf04 updated perl-maketext-gettext (1.26 -> 1.32) diff -r 4fa9aa1999b8 -r c09183e8534a perl-maketext-gettext/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-maketext-gettext/description.txt Sun Jan 02 07:13:31 2022 +0100 @@ -0,0 +1,15 @@ +Locale::Maketext::Gettext joins the GNU gettext and Maketext frameworks. +It is a subclass of Locale::Maketext(3) that follows the way GNU gettext works. +It works seamlessly, both in the sense of GNU gettext and Maketext. +As a result, you enjoy both their advantages, and get rid of both their +problems, too. + +You start as a usual GNU gettext localization project: +Work on PO files with the help of translators, reviewers and Emacs. +Turn them into MO files with msgfmt. +Copy them into the appropriate locale directory, such as +/usr/share/locale/de/LC_MESSAGES/myapp.mo. + +Then, build your Maketext localization class, with your base class +changed from Locale::Maketext(3) to Locale::Maketext::Gettext. +That is all. diff -r 4fa9aa1999b8 -r c09183e8534a perl-maketext-gettext/receipt --- a/perl-maketext-gettext/receipt Sun Jan 02 07:09:29 2022 +0100 +++ b/perl-maketext-gettext/receipt Sun Jan 02 07:13:31 2022 +0100 @@ -1,17 +1,18 @@ # SliTaz package receipt. PACKAGE="perl-maketext-gettext" -VERSION="1.26" +VERSION="1.32" CATEGORY="development" SHORT_DESC="Perl gettext and Maketext frameworks" MAINTAINER="erjo@slitaz.org" LICENSE="GPL3" +WEB_SITE="https://metacpan.org/pod/Locale::Maketext::Gettext" +RPOLOGYE="perl:locale-maketext-gettext" +SOURCE="Locale-Maketext-Gettext" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="https://www.cpan.org/modules/by-module/Locale/$TARBALL" DEPENDS="perl" BUILD_DEPENDS="perl" -SOURCE="Locale-Maketext-Gettext" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="https://metacpan.org/dist/Locale-Maketext-Gettext" -WGET_URL="https://metacpan.org/CPAN/authors/id/I/IM/IMACAT/$TARBALL" current_version() { @@ -22,16 +23,13 @@ # Rules to configure and make the package. compile_rules() { - cd $src - perl Makefile.PL - make - make DESTDIR=$DESTDIR install + perl Makefile.PL && + make && + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr + cook_copy_folders lib } -