summaryrefslogtreecommitdiffstats
path: root/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild')
-rw-r--r--libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild b/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild
index f104b09f63..338cd26ea9 100644
--- a/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild
+++ b/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for LucenePlusPlus
-# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=LucenePlusPlus
-VERSION=${VERSION:-3.0.8}
+VERSION=${VERSION:-3.0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -79,17 +76,17 @@ 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 {} \;
-patch -p1 < $CWD/soname.patch
-
+patch -p1 < $CWD/a460863810b3a6a473780686e5d3fd70bf4378ba.patch
+patch -p1 < $CWD/76dc90f2b65d81be018c499714ff11e121ba5585.patch
mkdir -p build
cd build
- export "PATH=/opt/cmake-202x/bin:$PATH"
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_DESTINATION=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_CXX_FLAGS='-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT' \
+ -DENABLE_TEST=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG