aboutsummaryrefslogtreecommitdiff
path: root/academic/genometools/genometools.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <petar.petrov@student.oulu.fi>2015-02-04 19:44:12 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-05 06:31:05 +0700
commit4c948ac76ae975a75eef04449b92877c26ff9568 (patch)
tree7303834bc8220eaafa58c364e065a664e78bb9c5 /academic/genometools/genometools.SlackBuild
parentdb4d842e11ecda13118a474bbb42d0d3624dc29d (diff)
academic/genometools: Updated for version 1.5.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 5c3a6a03c4bf8..d7338e167f3ba 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