summaryrefslogtreecommitdiff
path: root/academic/glpk/glpk.SlackBuild
diff options
context:
space:
mode:
authorDhabyX <slack.dhabyx@gmail.com>2017-03-13 23:34:56 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-18 06:58:29 +0700
commitd23c496ec8864268977a814b9bdc0e40158a096e (patch)
treeab47067cb051311fdc43e562900db57d081c7986 /academic/glpk/glpk.SlackBuild
parentfb34d0c3b62c741c6e0ec44c9d74826f27a98282 (diff)
downloadslackbuilds-d23c496ec8864268977a814b9bdc0e40158a096e.tar.gz
academic/glpk: Updated for version 4.61 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/glpk/glpk.SlackBuild')
-rw-r--r--academic/glpk/glpk.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/academic/glpk/glpk.SlackBuild b/academic/glpk/glpk.SlackBuild
index d85d343e83..140eae9aa1 100644
--- a/academic/glpk/glpk.SlackBuild
+++ b/academic/glpk/glpk.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for glpk
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+# 2017 - Dhaby Xiloj <slack.dhabyx@gmail.com>
# Copyright 2011, 2013 Chris Abela, Malta
# All rights reserved.
@@ -24,13 +25,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=glpk
-VERSION=${VERSION:-4.55}
+VERSION=${VERSION:-4.61}
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"