mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
misc/po4a: Updated for version 0.53.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
3d57545ef8
commit
f854ad412b
4 changed files with 14 additions and 17 deletions
|
@ -20,6 +20,7 @@ http://slackbuilds.org).
|
|||
|
||||
Po4a-0.47
|
||||
|
|
||||
|-- perl-YAML-Tiny. Mandatory for the Yaml module.
|
||||
|-- perl-Module-Build
|
||||
|-- perl-text-WrapI18N to format po4a's warnings and error messages. Optional.
|
||||
| |-- Text::CharWidth. Mandatory
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for po4a
|
||||
|
||||
# Copyright 2014,2015 Didier Spaier Paris, France
|
||||
# Copyright 2014, 2015, 2018 Didier Spaier Paris, France
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -28,7 +28,7 @@
|
|||
# LC_ALL=en_US.utf8 ./po4a.SlackBuild
|
||||
|
||||
PRGNAM=po4a
|
||||
VERSION=${VERSION:-0.47}
|
||||
VERSION=${VERSION:-0.53}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -36,7 +36,7 @@ SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
|
|||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -47,8 +47,8 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
|
@ -89,16 +89,12 @@ 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
|
||||
|
||||
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
|
||||
|
||||
find $PKG -depth -type d -empty -delete || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a COPYING NEWS README README.maintainers README.tests README.translators TODO \
|
||||
cp -a COPYING NEWS README* TODO \
|
||||
changelog $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="po4a"
|
||||
VERSION="0.47"
|
||||
HOMEPAGE="http://po4a.alioth.debian.org/"
|
||||
DOWNLOAD="https://alioth.debian.org/frs/download.php/file/4142/po4a-0.47.tar.gz"
|
||||
MD5SUM="fdbfe10c43c09bf1ea74ae91b5d82a96"
|
||||
VERSION="0.53"
|
||||
HOMEPAGE="https://po4a.org/"
|
||||
DOWNLOAD="https://github.com/mquinson/po4a/releases/download/v0.53/po4a-0.53.tar.gz"
|
||||
MD5SUM="5f0728b762352edce650ad0165e6a173"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="perl-Unicode-LineBreak perl-Module-Build"
|
||||
REQUIRES="perl-Unicode-LineBreak perl-Module-Build perl-YAML-Tiny"
|
||||
MAINTAINER="Didier Spaier"
|
||||
EMAIL="didier at slint dot fr"
|
||||
|
|
|
@ -12,8 +12,8 @@ po4a: po4a (PO for anything) eases translations and their maintenance,
|
|||
po4a: allowing gettext's usage on unexpected areas like documentation.
|
||||
po4a:
|
||||
po4a: In po4a each documentation format is handled by a module, that
|
||||
po4a: converts this format to/from PO. Formats included in po4a-0.45 are:
|
||||
po4a: converts this format to/from PO. Formats included in po4a-0.53 are:
|
||||
po4a: BibTex, Dia, Halibut, Kernelhelp, LaTeX, Man, POD, SGML, TeX,
|
||||
po4a: Texinfo, Text, WML, XHTML, XML.
|
||||
po4a: Texinfo, Text, WML, XHTML, XML, Yaml.
|
||||
po4a:
|
||||
po4a:
|
||||
|
|
Loading…
Reference in a new issue