libraries/libmodbus: Updated for version 3.0.6.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Stefan Beckert 2017-01-13 22:19:14 +07:00 committed by Willy Sudiarto Raharjo
parent f5f1dc56cc
commit 84a2f40990
2 changed files with 8 additions and 8 deletions

View File

@ -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"

View File

@ -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=""