mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
academic/calc: Switch to i586 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
982c992682
commit
31cbbff387
3 changed files with 7 additions and 6 deletions
|
@ -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.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
# Slackware build script for calc
|
||||
|
||||
# Copyright 2017 Dhaby Xiloj <slack.dhabyx@gmail.com>
|
||||
# Copyright 2008-2010 Grigorios Bouzakis <grbzks@xsmail.com>
|
||||
# Copyright 2014 Glenn Becker <burningc@sdf.org>
|
||||
# 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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue