From 79f12974dc5ec8a0b3c352124503cb26200a4e2b Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 3 Mar 2024 22:46:46 +0700 Subject: [PATCH] libraries/LucenePlusPlus: Update script. Signed-off-by: Willy Sudiarto Raharjo --- libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild | 9 +++------ libraries/LucenePlusPlus/LucenePlusPlus.info | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild b/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild index f104b09f63..aca1525316 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 +# Copyright 2014-2024 Willy Sudiarto Raharjo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=LucenePlusPlus VERSION=${VERSION:-3.0.8} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} 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 @@ -83,13 +80,13 @@ patch -p1 < $CWD/soname.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 diff --git a/libraries/LucenePlusPlus/LucenePlusPlus.info b/libraries/LucenePlusPlus/LucenePlusPlus.info index 7c20a329fc..8b970e5e38 100644 --- a/libraries/LucenePlusPlus/LucenePlusPlus.info +++ b/libraries/LucenePlusPlus/LucenePlusPlus.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_3.0.8.tar MD5SUM="cb9b2e7cb37b7dd68c1e24a65c6eda9d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gtest" +REQUIRES="" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org"