summaryrefslogtreecommitdiff
path: root/academic/genometools/genometools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/genometools/genometools.SlackBuild')
-rw-r--r--academic/genometools/genometools.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/academic/genometools/genometools.SlackBuild b/academic/genometools/genometools.SlackBuild
index 5c3a6a03c4..d7338e167f 100644
--- a/academic/genometools/genometools.SlackBuild
+++ b/academic/genometools/genometools.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for genometools
-# Copyright 2014 Petar Petrov, petar.petrov@student.oulu.fi
+# Copyright 2014-2015 Petar Petrov, petar.petrov@student.oulu.fi
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=genometools
-VERSION=${VERSION:-1.5.3}
+VERSION=${VERSION:-1.5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,12 +43,15 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
+ BUILDARCH="32bit=yes"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
+ BUILDARCH="32bit=yes"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+ BUILDARCH=""
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -56,13 +59,6 @@ fi
set -e
-# Determine the build arch option
-if [ "$ARCH" = "x86_64" ]; then
- BUILDARCH="64bit=yes"
-else
- BUILDARCH=""
-fi
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP