diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2018-02-28 08:43:18 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-02-28 08:43:18 +0700 |
commit | 1f3223a5264d78f8e1db1be0f18e6679b58f1c53 (patch) | |
tree | a6f5286c64f5ea47d3afb358aa208b03ab8a4cf2 /libraries | |
parent | 25cd11e2f0ea5c3779ca6b3ae35061e1370a31d0 (diff) |
libraries/libabw: Updated for version 0.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libabw/README | 3 | ||||
-rw-r--r-- | libraries/libabw/libabw.SlackBuild | 20 | ||||
-rw-r--r-- | libraries/libabw/libabw.info | 6 |
3 files changed, 15 insertions, 14 deletions
diff --git a/libraries/libabw/README b/libraries/libabw/README index 2620855ca710e..663789a591625 100644 --- a/libraries/libabw/README +++ b/libraries/libabw/README @@ -1,4 +1,5 @@ Libabw is an import filter library for AbiWord documents, based on librevenge. It 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" ./libabw.SlackBuild diff --git a/libraries/libabw/libabw.SlackBuild b/libraries/libabw/libabw.SlackBuild index d3414be19c91e..8949106d9a121 100644 --- a/libraries/libabw/libabw.SlackBuild +++ b/libraries/libabw/libabw.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libabw -# Copyright 2015 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=libabw -VERSION=${VERSION:-0.1.1} +VERSION=${VERSION:-0.1.2} 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 -DBOOST_SYSTEM_NO_DEPRECATED" \ CXXFLAGS="$SLKCFLAGS -DBOOST_SYSTEM_NO_DEPRECATED" \ @@ -82,6 +80,7 @@ CXXFLAGS="$SLKCFLAGS -DBOOST_SYSTEM_NO_DEPRECATED" \ --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 COPYING* CREDITS ChangeLog HACKING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING.MPL CREDITS ChangeLog HACKING INSTALL NEWS 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/libabw/libabw.info b/libraries/libabw/libabw.info index 91089f4e710cf..b98e31608c63d 100644 --- a/libraries/libabw/libabw.info +++ b/libraries/libabw/libabw.info @@ -1,8 +1,8 @@ PRGNAM="libabw" -VERSION="0.1.1" +VERSION="0.1.2" HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libabw" -DOWNLOAD="http://dev-www.libreoffice.org/src/libabw/libabw-0.1.1.tar.xz" -MD5SUM="6be55a46078b593ec20cad9bb8730c3e" +DOWNLOAD="http://dev-www.libreoffice.org/src/libabw/libabw-0.1.2.tar.xz" +MD5SUM="201f477df7ea90d362c389c145c0f352" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |