summaryrefslogtreecommitdiffstats
path: root/libraries/libcmis/libcmis.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libcmis/libcmis.SlackBuild')
-rw-r--r--libraries/libcmis/libcmis.SlackBuild21
1 files changed, 5 insertions, 16 deletions
diff --git a/libraries/libcmis/libcmis.SlackBuild b/libraries/libcmis/libcmis.SlackBuild
index 0c3286a0b3..ecbd0a88dd 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