aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmirage/libmirage.SlackBuild
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2018-08-12 21:03:59 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-18 08:39:46 +0700
commite21b3ce3d7137e2be1f6f6a12fcaa041e663ee7c (patch)
tree5e0b6f6b8f1fcc34683f4d7314f63fd1e0f77eae /libraries/libmirage/libmirage.SlackBuild
parent12f699b403de14790143d50e917f3683cd1af5d9 (diff)
libraries/libmirage: Updated for version 3.2.0 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libmirage/libmirage.SlackBuild')
-rw-r--r--libraries/libmirage/libmirage.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/libraries/libmirage/libmirage.SlackBuild b/libraries/libmirage/libmirage.SlackBuild
index 0b8362923bec4..319964ae403d2 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 <niels.horn@gmail.com>
+# Copyright 2018 Isaac Yu <isaacyu1@isaacyu1.com>
# 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