diff options
Diffstat (limited to 'academic/cryptominisat')
-rw-r--r-- | academic/cryptominisat/cryptominisat.SlackBuild | 27 | ||||
-rw-r--r-- | academic/cryptominisat/cryptominisat.info | 10 |
2 files changed, 26 insertions, 11 deletions
diff --git a/academic/cryptominisat/cryptominisat.SlackBuild b/academic/cryptominisat/cryptominisat.SlackBuild index 8a59f1367e..74cbbb84e1 100644 --- a/academic/cryptominisat/cryptominisat.SlackBuild +++ b/academic/cryptominisat/cryptominisat.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # 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 @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cryptominisat -VERSION=${VERSION:-5.6.8} +VERSION=${VERSION:-5.11.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -79,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 @@ -101,4 +116,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/academic/cryptominisat/cryptominisat.info b/academic/cryptominisat/cryptominisat.info index 4ceb3bef16..cb39e89a62 100644 --- a/academic/cryptominisat/cryptominisat.info +++ b/academic/cryptominisat/cryptominisat.info @@ -1,10 +1,10 @@ PRGNAM="cryptominisat" -VERSION="5.6.8" +VERSION="5.11.21" HOMEPAGE="https://www.msoos.org/cryptominisat5/" -DOWNLOAD="https://github.com/msoos/cryptominisat/archive/5.6.8/cryptominisat-5.6.8.tar.gz" -MD5SUM="ca1bf853e568c19968daa5464ab86843" +DOWNLOAD="https://github.com/msoos/cryptominisat/archive/5.11.21/cryptominisat-5.11.21.tar.gz" +MD5SUM="7f2fbe1975c9045d351a7921f4028b38" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Alan Aversa" -EMAIL="aveNOrsa@email.ariSPAMzona.edu" +MAINTAINER="Caterino Tommaso, T.O.P." +EMAIL="alaNOn_aversa@lavabSPAMit.com (remove NO and SPAM)" |