summaryrefslogtreecommitdiffstats
path: root/academic/cryptominisat/cryptominisat.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/cryptominisat/cryptominisat.SlackBuild')
-rw-r--r--academic/cryptominisat/cryptominisat.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/academic/cryptominisat/cryptominisat.SlackBuild b/academic/cryptominisat/cryptominisat.SlackBuild
index 357e4ab133..74cbbb84e1 100644
--- a/academic/cryptominisat/cryptominisat.SlackBuild
+++ b/academic/cryptominisat/cryptominisat.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for cryptominisat
-# Copyright 2019 Alan Aversa USA
+# Copyright 2024 Caterino Tommaso, T.O.P. USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cryptominisat
-VERSION=${VERSION:-5.7.1}
+VERSION=${VERSION:-5.11.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -89,12 +89,17 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
- -DUSE_GAUSS=ON \
+ -DIPASIR=ON \
+ -DSTATICCOMPILE=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
+# include source code:
+mkdir -p $PKG/usr/src
+cp -a src $PKG/usr/src/$PRGNAM
+
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