summaryrefslogtreecommitdiff
path: root/office/evolution-ews/evolution-ews.SlackBuild
diff options
context:
space:
mode:
authorOzan Türkyılmaz <ozan.turkyilmaz@gmail.com>2022-05-10 13:06:51 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-14 19:27:52 +0700
commit6cf5504f67bcaea9423d226d97fc905800356e34 (patch)
tree1f917598a4d30f6dec181f85c178c5d616f7e009 /office/evolution-ews/evolution-ews.SlackBuild
parent9b2b7708013760ea7ed30493f647c21e593107dd (diff)
downloadslackbuilds-6cf5504f67bcaea9423d226d97fc905800356e34.tar.gz
office/evolution-ews: Updated to 3.44.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/evolution-ews/evolution-ews.SlackBuild')
-rw-r--r--office/evolution-ews/evolution-ews.SlackBuild34
1 files changed, 23 insertions, 11 deletions
diff --git a/office/evolution-ews/evolution-ews.SlackBuild b/office/evolution-ews/evolution-ews.SlackBuild
index edeae3310b..6ad5f9bc57 100644
--- a/office/evolution-ews/evolution-ews.SlackBuild
+++ b/office/evolution-ews/evolution-ews.SlackBuild
@@ -25,13 +25,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=evolution-ews
-VERSION=${VERSION:-3.44.0}
+VERSION=${VERSION:-3.44.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-GCOV=${GCOV:-OFF}
-TESTING:${TESTING:-OFF}
+GCOV=${GCOV:-no}
+TESTING:${TESTING:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -46,6 +46,18 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
+if [ "$GCOV" = "yes" ]; then
+ GCOVP="ON"
+else
+ GCOVP="OFF"
+fi
+
+if [ "$TESTING" = "yes" ]; then
+ TESTINGP="ON"
+else
+ TESTINGP="OFF"
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -87,12 +99,15 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
- -DENABLE_CODE_COVERAGE="$GCOV" \
- -DBUILD_TESTING="$TESTING" \
+ -DENABLE_CODE_COVERAGE="$GCOVP" \
+ -DBUILD_TESTING="$TESTINGP" \
-DSYSCONF_INSTALL_DIR=/etc \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install/strip DESTDIR=$PKG
+ -DCMAKE_BUILD_TYPE=Release .. \
+ -G Ninja
+
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+
cd ..
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
@@ -100,9 +115,6 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
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
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYING NEWS README \