aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Beckert <becki@web.de>2017-01-13 22:19:14 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-13 22:23:05 +0700
commit84a2f4099080174afae67f847404fe5834792418 (patch)
tree0f477f0228778ad0f4858b128e158c60dba2b4cf
parentf5f1dc56ccd8fd627c9f28b623904fdc1d4c47d6 (diff)
libraries/libmodbus: Updated for version 3.0.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libmodbus/libmodbus.SlackBuild10
-rw-r--r--libraries/libmodbus/libmodbus.info6
2 files changed, 8 insertions, 8 deletions
diff --git a/libraries/libmodbus/libmodbus.SlackBuild b/libraries/libmodbus/libmodbus.SlackBuild
index dd6a39d40f48..d58e6f543082 100644
--- a/libraries/libmodbus/libmodbus.SlackBuild
+++ b/libraries/libmodbus/libmodbus.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libmodbus
-# Copyright (c) 2012 Stefan Beckert, Mitwitz, Germany
+# Copyright (c) 2012-2017 Stefan Beckert, Mitwitz, Germany
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -23,13 +23,13 @@
# THE SOFTWARE.
PRGNAM=libmodbus
-VERSION=${VERSION:-3.0.2}
+VERSION=${VERSION:-3.0.6}
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/libmodbus/libmodbus.info b/libraries/libmodbus/libmodbus.info
index b98562dbbb77..6e820b090150 100644
--- a/libraries/libmodbus/libmodbus.info
+++ b/libraries/libmodbus/libmodbus.info
@@ -1,8 +1,8 @@
PRGNAM="libmodbus"
-VERSION="3.0.2"
+VERSION="3.0.6"
HOMEPAGE="http://www.libmodbus.org"
-DOWNLOAD="http://github.com/downloads/stephane/libmodbus/libmodbus-3.0.2.tar.gz"
-MD5SUM="1aaacce9d9779d3a84f7d1a75774c943"
+DOWNLOAD="http://libmodbus.org/releases/libmodbus-3.0.6.tar.gz"
+MD5SUM="c80f88b6ca19cabc4ceffc195ca07771"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""