From 31cbbff3872f0acb9560746d125eaba6ccec4655 Mon Sep 17 00:00:00 2001 From: DhabyX Date: Tue, 17 Jan 2017 09:34:26 +0000 Subject: [PATCH] academic/calc: Switch to i586 + new maintainer. Signed-off-by: David Spencer --- academic/calc/README | 2 +- academic/calc/calc.SlackBuild | 7 ++++--- academic/calc/calc.info | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/academic/calc/README b/academic/calc/README index fb0ce245f9..ad467a98d3 100644 --- a/academic/calc/README +++ b/academic/calc/README @@ -1,3 +1,3 @@ -Calc is arbitrary precision C-like arithmetic system that is a calculator, +Calc is arbitrary precision C-like arithmetic system that is a calculator, an algorithm prototyper, and mathematical research tool. Calc comes with a rich set of builtin mathematical and programmatic functions. diff --git a/academic/calc/calc.SlackBuild b/academic/calc/calc.SlackBuild index b55743f8d0..ac3872319e 100644 --- a/academic/calc/calc.SlackBuild +++ b/academic/calc/calc.SlackBuild @@ -1,6 +1,7 @@ #!/bin/sh # Slackware build script for calc +# Copyright 2017 Dhaby Xiloj # Copyright 2008-2010 Grigorios Bouzakis # Copyright 2014 Glenn Becker # All rights reserved. @@ -29,7 +30,7 @@ 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 @@ -40,8 +41,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" diff --git a/academic/calc/calc.info b/academic/calc/calc.info index 999372fc97..9305d42e8d 100644 --- a/academic/calc/calc.info +++ b/academic/calc/calc.info @@ -6,5 +6,5 @@ MD5SUM="682dab9ca5fd0a53a1b0cc20996eca1a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Glenn Becker" -EMAIL="glenn.becker@gmail.com" +MAINTAINER="DhabyX" +EMAIL="slack.dhabyx@gmail.com"