aboutsummaryrefslogtreecommitdiff
path: root/academic/cryptominisat
diff options
context:
space:
mode:
authoralaNOn_aversa@lavabSPAMit.com <alaNOn_aversa@lavabSPAMit.com>2024-03-24 17:40:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-03-24 17:43:58 +0700
commit1db33d4321a0e682d35c28c78cc17291eb210343 (patch)
tree97d09baa22c18be32a0ce8695483aa4150e90474 /academic/cryptominisat
parent5c172fe272f8eb8e79c2591b8f98649c617b8969 (diff)
academic/cryptominisat: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/cryptominisat')
-rw-r--r--academic/cryptominisat/cryptominisat.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/academic/cryptominisat/cryptominisat.SlackBuild b/academic/cryptominisat/cryptominisat.SlackBuild
index 976e326ca242..74cbbb84e1fc 100644
--- a/academic/cryptominisat/cryptominisat.SlackBuild
+++ b/academic/cryptominisat/cryptominisat.SlackBuild
@@ -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