summaryrefslogtreecommitdiff
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
parent12f699b403de14790143d50e917f3683cd1af5d9 (diff)
downloadslackbuilds-e21b3ce3d7137e2be1f6f6a12fcaa041e663ee7c.tar.gz
libraries/libmirage: Updated for version 3.2.0 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--libraries/libmirage/libmirage.SlackBuild12
-rw-r--r--libraries/libmirage/libmirage.info10
2 files changed, 12 insertions, 10 deletions
diff --git a/libraries/libmirage/libmirage.SlackBuild b/libraries/libmirage/libmirage.SlackBuild
index 0b8362923b..319964ae40 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
diff --git a/libraries/libmirage/libmirage.info b/libraries/libmirage/libmirage.info
index 4d57c476e7..a66b3b5bc8 100644
--- a/libraries/libmirage/libmirage.info
+++ b/libraries/libmirage/libmirage.info
@@ -1,10 +1,10 @@
PRGNAM="libmirage"
-VERSION="3.1.0"
+VERSION="3.2.0"
HOMEPAGE="http://cdemu.sourceforge.net/about/libmirage/"
-DOWNLOAD="http://downloads.sourceforge.net/cdemu/libmirage-3.1.0.tar.bz2"
-MD5SUM="cef2efb2950f2f0d6a991f29bd69bc99"
+DOWNLOAD="http://downloads.sourceforge.net/cdemu/libmirage-3.2.0.tar.bz2"
+MD5SUM="7aa019e728064493b51f6a717a28b9f2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Niels Horn"
-EMAIL="niels.horn@gmail.com"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu1@isaacyu1.com"