diff options
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
-|-- 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 @@
-# 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
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/ b/misc/po4a/
index 066bafc79d..13fa48cacc 100644
--- a/misc/po4a/
+++ b/misc/po4a/
@@ -1,10 +1,10 @@
-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"