aboutsummaryrefslogtreecommitdiff
path: root/libraries/libpagemaker
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2018-02-28 08:49:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-02-28 08:49:22 +0700
commit66c17fff55b50cb230292d3869d362b06859d89f (patch)
tree187d6baf9712a858b2ecc08b12b28079c1bc3066 /libraries/libpagemaker
parent164efb0ba89af2ac14eea4f326aae9f13060bc68 (diff)
libraries/libpagemaker: Updated for version 0.0.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libpagemaker')
-rw-r--r--libraries/libpagemaker/README3
-rw-r--r--libraries/libpagemaker/libpagemaker.SlackBuild20
-rw-r--r--libraries/libpagemaker/libpagemaker.info6
3 files changed, 15 insertions, 14 deletions
diff --git a/libraries/libpagemaker/README b/libraries/libpagemaker/README
index 621053c0dc63..8f44403a34f0 100644
--- a/libraries/libpagemaker/README
+++ b/libraries/libpagemaker/README
@@ -2,4 +2,5 @@ Libpagemaker is an import filter library for Adobe PageMaker files,
based on librevenge. The library is a part of the Document Liberation
Project.
-To build the doxygen html documentation use DOC="yes".
+To build the doxygen html documentation use:
+ DOC="yes" ./libpagemaker.SlackBuild
diff --git a/libraries/libpagemaker/libpagemaker.SlackBuild b/libraries/libpagemaker/libpagemaker.SlackBuild
index 961b49be56b4..397b3eb199b6 100644
--- a/libraries/libpagemaker/libpagemaker.SlackBuild
+++ b/libraries/libpagemaker/libpagemaker.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libpagemaker
-# Copyright 2015-2017 Hunter Sezen California, USA
+# Copyright 2015-2018 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libpagemaker
-VERSION=${VERSION:-0.0.3}
+VERSION=${VERSION:-0.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -69,12 +69,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-DOC=${DOC:-no}
-if [ ! "$DOC" = "yes" ]; then
- doc="--without-docs"
-else
- doc=""
-fi
+case "${DOC:-0}" in
+ 0) doc='--without-docs' ;;
+ *) doc='--with-docs' ;;
+esac
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,6 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-werror \
--build=$ARCH-slackware-linux \
$doc
@@ -92,7 +91,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog HACKING NEWS NOTES README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog HACKING NEWS NOTES README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/libpagemaker/libpagemaker.info b/libraries/libpagemaker/libpagemaker.info
index 00d4be09da4a..86ca2faee3ab 100644
--- a/libraries/libpagemaker/libpagemaker.info
+++ b/libraries/libpagemaker/libpagemaker.info
@@ -1,8 +1,8 @@
PRGNAM="libpagemaker"
-VERSION="0.0.3"
+VERSION="0.0.4"
HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker"
-DOWNLOAD="http://dev-www.libreoffice.org/src/libpagemaker/libpagemaker-0.0.3.tar.xz"
-MD5SUM="9f377b0690fa6e96a94bb309509860e9"
+DOWNLOAD="http://dev-www.libreoffice.org/src/libpagemaker/libpagemaker-0.0.4.tar.xz"
+MD5SUM="8395dfc5eef11c58d5a9efe3bfe64831"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""