diff options
-rw-r--r-- | misc/po4a/README | 9 | ||||
-rw-r--r-- | misc/po4a/po4a.SlackBuild | 14 | ||||
-rw-r--r-- | misc/po4a/po4a.info | 10 |
3 files changed, 15 insertions, 18 deletions
diff --git a/misc/po4a/README b/misc/po4a/README index e560c89996..d02b4b28ad 100644 --- a/misc/po4a/README +++ b/misc/po4a/README @@ -4,8 +4,8 @@ po4a (PO for anything) eases translations and their maintenance, allowing gettext's usage on unexpected areas like documentation. In po4a each documentation format is handled by a module, that -converts this format to/from PO. Formats included in po4a-0.45 are: -BibTex, Dia, Halibut, KernelHelp, LaTeX, Man, POD, SGML, TeX, +converts this format to/from PO. Formats included in po4a-0.47 are: +AsciiDoc, BibTex, Dia, Halibut, KernelHelp, LaTeX, Man, POD, SGML, TeX, Texinfo, Text, WML, XHTML, XML. man pages are encoded in UTF-8. To read them in other languages than English, @@ -18,10 +18,9 @@ WARNING: run po4a.SlackBuild as root (su -) not with only root privileges Dependencies tree is as follows (all dependencies listed are available at http://slackbuilds.org). -Po4a-0.45 +Po4a-0.47 | -|-- locale-gettext (included in Slackware 14.1), allows translation of -| po4a's own messages. Optional +|-- perl-Module-Build |-- perl-term-ReadKey to retrieve the terminal's line width. Only used if | perl-text-WrapI18N is available. Optional |-- perl-text-WrapI18N to format po4a's warnings and error messages. Optional. diff --git a/misc/po4a/po4a.SlackBuild b/misc/po4a/po4a.SlackBuild index 7f65abc741..bde774eab4 100644 --- a/misc/po4a/po4a.SlackBuild +++ b/misc/po4a/po4a.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for perl-Unicode-LineBreak +# Slackware build script for po4a -# Copyright 2014 Didier Spaier Paris, France +# Copyright 2014,2015 Didier Spaier Paris, France # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,8 +28,8 @@ # LC_ALL=en_US.utf8 ./po4a.SlackBuild PRGNAM=po4a -VERSION=${VERSION:-0.45} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.48} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -89,10 +89,8 @@ perl Build.PL \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -cp -rf $PKG/usr/share/man $PKG/usr -rm -rf $PKG/usr/share/man - -find $PKG/usr/man -type f -exec gzip -9 {} \; +mv $PKG/usr/share/man/ $PKG/usr/ +# All man pages are already gzipped. for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true diff --git a/misc/po4a/po4a.info b/misc/po4a/po4a.info index 066bafc79d..13fa48cacc 100644 --- a/misc/po4a/po4a.info +++ b/misc/po4a/po4a.info @@ -1,10 +1,10 @@ PRGNAM="po4a" -VERSION="0.45" +VERSION="0.47" HOMEPAGE="http://po4a.alioth.debian.org/" -DOWNLOAD="http://alioth.debian.org/frs/download.php/file/3942/po4a-0.45.tar.gz" -MD5SUM="423bdf5c39f30e63a808b84c5d9d1899" +DOWNLOAD="https://alioth.debian.org/frs/download.php/file/4142/po4a-0.47.tar.gz" +MD5SUM="fdbfe10c43c09bf1ea74ae91b5d82a96" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="%README% perl-Unicode-LineBreak" +REQUIRES="perl-Unicode-LineBreak perl-Module-Build" MAINTAINER="Didier Spaier" -EMAIL="didier dot spaier at epsm dot fr" +EMAIL="didier at slint dot fr" |