aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmwaw
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-08-16 22:31:23 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-19 07:10:44 +0700
commitcb5c3628f521f4bf7165ad8ab1fcfe18a21e61f0 (patch)
treeee1826dac936511ef2556eafd77459553f48c281 /libraries/libmwaw
parent711224089be5a46c86b3f6628a31787dee722874 (diff)
libraries/libmwaw: Updated for version 0.3.12.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libmwaw')
-rw-r--r--libraries/libmwaw/README3
-rw-r--r--libraries/libmwaw/libmwaw.SlackBuild16
-rw-r--r--libraries/libmwaw/libmwaw.info6
3 files changed, 12 insertions, 13 deletions
diff --git a/libraries/libmwaw/README b/libraries/libmwaw/README
index fc481dc609bc2..e7af0df158c60 100644
--- a/libraries/libmwaw/README
+++ b/libraries/libmwaw/README
@@ -3,4 +3,5 @@ based on librevenge. It can import text documents, vector and bitmap
images, spreadsheets and databases of many formats. 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".
diff --git a/libraries/libmwaw/libmwaw.SlackBuild b/libraries/libmwaw/libmwaw.SlackBuild
index 3b1d5ebe31323..e5c0d2bed2e0c 100644
--- a/libraries/libmwaw/libmwaw.SlackBuild
+++ b/libraries/libmwaw/libmwaw.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libmwaw
-VERSION=${VERSION:-0.3.9}
+VERSION=${VERSION:-0.3.12}
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:-no}" in
+ yes) doc='--with-docs' ;;
+ *) doc='--without-docs' ;;
+esac
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,7 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-sharedptf=boost \
+ --disable-werror \
--build=$ARCH-slackware-linux \
$doc
diff --git a/libraries/libmwaw/libmwaw.info b/libraries/libmwaw/libmwaw.info
index 00956730eba00..c4cf74334737b 100644
--- a/libraries/libmwaw/libmwaw.info
+++ b/libraries/libmwaw/libmwaw.info
@@ -1,8 +1,8 @@
PRGNAM="libmwaw"
-VERSION="0.3.9"
+VERSION="0.3.12"
HOMEPAGE="https://sourceforge.net/p/libmwaw/wiki/Home/"
-DOWNLOAD="http://sourceforge.net/projects/libmwaw/files/libmwaw/libmwaw-0.3.9/libmwaw-0.3.9.tar.xz"
-MD5SUM="9e4f53b2fd8c69f013f9ac554efde56d"
+DOWNLOAD="https://sourceforge.net/projects/libmwaw/files/libmwaw/libmwaw-0.3.12/libmwaw-0.3.12.tar.xz"
+MD5SUM="feba044fe0bfd37fa421acbc7debd59a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""