From b95abc4f9b432308e16b91c89e255301dd090feb Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Mon, 15 Jan 2018 16:51:12 -0800 Subject: academic/speedcrunch: Updated for version 0.12.0 Signed-off-by: Larry Hajali --- academic/speedcrunch/speedcrunch.SlackBuild | 22 ++++++++++++---------- academic/speedcrunch/speedcrunch.info | 8 ++++---- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/academic/speedcrunch/speedcrunch.SlackBuild b/academic/speedcrunch/speedcrunch.SlackBuild index ac12214f3e..1c9debddf0 100644 --- a/academic/speedcrunch/speedcrunch.SlackBuild +++ b/academic/speedcrunch/speedcrunch.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for speedcrunch -# Copyright 2009, 2014 Larry Hajali +# Copyright 2009, 2014-2018 Larry Hajali # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,13 +24,14 @@ PRGNAM=speedcrunch SRCNAM=SpeedCrunch -VERSION=${VERSION:-0.11} +VERSION=${VERSION:-0.12.0} +COMMIT=${COMMIT:-ea93b21f9498} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -41,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -60,9 +61,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION-src -unzip $CWD/$SRCNAM-$VERSION-src.zip -cd $SRCNAM-$VERSION-src +rm -rf heldercorreia-$PRGNAM-$COMMIT +tar xvf $CWD/release-$VERSION.tar.bz2 +cd heldercorreia-$PRGNAM-$COMMIT chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -72,7 +73,8 @@ find -L . \ sed -i 's/\r//' pkg/COPYING.rtf -cmake -DCMAKE_INSTALL_PREFIX=/usr \ +cmake -G "Unix Makefiles" \ + -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_BUILD_TYPE=RELEASE \ @@ -90,7 +92,7 @@ for i in 16 24 32 48 64 96 128; do done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.md pkg/COPYING.rtf doc/*{pdf,odt} $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md pkg/COPYING.rtf $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/academic/speedcrunch/speedcrunch.info b/academic/speedcrunch/speedcrunch.info index 78d73e598d..54723631aa 100644 --- a/academic/speedcrunch/speedcrunch.info +++ b/academic/speedcrunch/speedcrunch.info @@ -1,10 +1,10 @@ PRGNAM="speedcrunch" -VERSION="0.11" +VERSION="0.12.0" HOMEPAGE="http://www.speedcrunch.org/en_US/index.html" -DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/speedcrunch/SpeedCrunch-0.11-src.zip/38fa6f1de59e3a7c7e7bc6ad5174edda/SpeedCrunch-0.11-src.zip" -MD5SUM="38fa6f1de59e3a7c7e7bc6ad5174edda" +DOWNLOAD="https://bitbucket.org/heldercorreia/speedcrunch/get/release-0.12.0.tar.bz2" +MD5SUM="f294f00d9ab8153ad4f2bebaaa93176c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="qt5" MAINTAINER="Larry Hajali" EMAIL="larryhaja[at]gmail[dot]com" -- cgit v1.2.3