diff options
author | Petar Petrov <slackalaxy@gmail.com> | 2019-08-03 07:11:25 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-08-03 07:11:25 +0700 |
commit | 45e3e0299ea6454abcf3065e2e86e70f58c2f959 (patch) | |
tree | c7666f27398f9f5fce153bfa0ddb8bd429293848 /academic/tophat/tophat.SlackBuild | |
parent | 40f47fa7025b10efd97adbdbe15b9d96f66ec7e7 (diff) |
academic/tophat: Updated for version 2.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/tophat/tophat.SlackBuild')
-rw-r--r-- | academic/tophat/tophat.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/academic/tophat/tophat.SlackBuild b/academic/tophat/tophat.SlackBuild index e579ff1e9aa9d..f32fb590f5e41 100644 --- a/academic/tophat/tophat.SlackBuild +++ b/academic/tophat/tophat.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for tophat -# Copyright 2013-2016 Petar Petrov slackalaxy@gmail.com +# Copyright 2013-2019 Petar Petrov slackalaxy@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=tophat -VERSION=${VERSION:-2.1.1} +VERSION=${VERSION:-2.1.2} 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 @@ -40,8 +40,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" @@ -69,6 +69,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +./autogen.sh + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |