diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2019-02-08 20:46:21 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-02-08 20:46:21 +0700 |
commit | b4ccf66199a89bd9a38661b358166ef8b2b4482a (patch) | |
tree | 54ff162656f1296e93c5c6a9e816e39a11020918 /libraries/libcmis/libcmis.SlackBuild | |
parent | df9f1b4a21ea4a89011bec9fbebd2e5aafb8d081 (diff) |
libraries/libcmis: Updated for version 0.5.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libcmis/libcmis.SlackBuild')
-rw-r--r-- | libraries/libcmis/libcmis.SlackBuild | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/libraries/libcmis/libcmis.SlackBuild b/libraries/libcmis/libcmis.SlackBuild index 0c3286a0b3958..ecbd0a88ddc08 100644 --- a/libraries/libcmis/libcmis.SlackBuild +++ b/libraries/libcmis/libcmis.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Libcmis -# Copyright 2015, 2017-2018 Hunter Sezen California, USA +# Copyright 2015, 2017-2019 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libcmis -VERSION=${VERSION:-0.5.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.5.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -75,16 +75,6 @@ else cppunit='--disable-tests' fi -# Fix for boost-1.68.0 in current -# https://github.com/tdf/libcmis/issues/19 -[ -f /usr/include/boost/uuid/detail/sha1.hpp ] && - sed -i 's|boost/uuid/sha1.hpp|boost/uuid/detail/sha1.hpp|' \ - ./src/libcmis/xml-utils.cxx - -# libcmis is not a GNU-conformant project -# https://github.com/tdf/libcmis/commit/ad89848c93d9357992f6d7d9a5b1e602f25e930c -zcat $CWD/configure.patch.gz | patch -p1 - autoreconf -fi CFLAGS="$SLKCFLAGS" \ @@ -93,7 +83,6 @@ CXXFLAGS="$SLKCFLAGS -Wno-deprecated" \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ - --with-boost=/usr/include \ --disable-static \ --disable-werror \ --build=$ARCH-slackware-linux \ @@ -102,8 +91,8 @@ CXXFLAGS="$SLKCFLAGS -Wno-deprecated" \ make make install DESTDIR=$PKG -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 +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 find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |