From e21b3ce3d7137e2be1f6f6a12fcaa041e663ee7c Mon Sep 17 00:00:00 2001 From: Isaac Yu Date: Sun, 12 Aug 2018 21:03:59 +0100 Subject: libraries/libmirage: Updated for version 3.2.0 + new maintainer. Signed-off-by: David Spencer --- libraries/libmirage/libmirage.SlackBuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'libraries/libmirage/libmirage.SlackBuild') diff --git a/libraries/libmirage/libmirage.SlackBuild b/libraries/libmirage/libmirage.SlackBuild index 0b8362923bec..319964ae403d 100644 --- a/libraries/libmirage/libmirage.SlackBuild +++ b/libraries/libmirage/libmirage.SlackBuild @@ -3,7 +3,8 @@ # Slackware build script for libmirage # # Copyright 2008 Niklas "Nille" Åkerström -# Copyright 2010-2013 Niels Horn, Rio de Janeiro, RJ, Brazil +# Copyright 2010-2013 Niels Horn, Rio de Janeiro, RJ, Brazil +# Copyright 2018 Isaac Yu # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,13 +25,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libmirage -VERSION=${VERSION:-3.1.0} +VERSION=${VERSION:-3.2.0} 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" @@ -75,6 +76,7 @@ cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DPOST_INSTALL_HOOKS=OFF \ -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 make install DESTDIR=$PKG -- cgit v1.2.3