From 25adabec4e5041ffea0b15d2ff0abc1445e1cc73 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Tue, 18 Apr 2017 13:52:49 +0100 Subject: [PATCH] libraries/mpir: Updated for version 3.0.0. Signed-off-by: David Spencer --- libraries/mpir/mpir.SlackBuild | 8 ++++---- libraries/mpir/mpir.info | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libraries/mpir/mpir.SlackBuild b/libraries/mpir/mpir.SlackBuild index f5a4ad9d30..f61493f523 100644 --- a/libraries/mpir/mpir.SlackBuild +++ b/libraries/mpir/mpir.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mpir -VERSION=${VERSION:-2.7.2} +VERSION=${VERSION:-3.0.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 @@ -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" diff --git a/libraries/mpir/mpir.info b/libraries/mpir/mpir.info index 3a6076d610..64c06b71d3 100644 --- a/libraries/mpir/mpir.info +++ b/libraries/mpir/mpir.info @@ -1,8 +1,8 @@ PRGNAM="mpir" -VERSION="2.7.2" +VERSION="3.0.0" HOMEPAGE="http://www.mpir.org/" -DOWNLOAD="http://mpir.org/mpir-2.7.2.tar.bz2" -MD5SUM="b31aa1ebc01b5fedf4ac43277c03feec" +DOWNLOAD="http://www.mpir.org/mpir-3.0.0.tar.bz2" +MD5SUM="4e5d16676e0cd6773f43bbbeb5cb0016" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""