aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorGiancarlo Dessi <slack@giand.it>2024-08-30 11:45:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-30 15:58:50 +0700
commit24d80ae862345e7261f1ef0e7ce4b13da0be95f6 (patch)
tree75d172e050d203b7f9bb028113b7ce8cc763c1cd /libraries
parent205bc555537e0b9190dd518c351eeeff009c5bfe (diff)
libraries/msgpack-c-c: Updated for version 6.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/msgpack-c-c/README17
-rw-r--r--libraries/msgpack-c-c/msgpack-c-c.SlackBuild13
-rw-r--r--libraries/msgpack-c-c/msgpack-c-c.info6
3 files changed, 17 insertions, 19 deletions
diff --git a/libraries/msgpack-c-c/README b/libraries/msgpack-c-c/README
index 4219870b84b5..bf28a832f9e2 100644
--- a/libraries/msgpack-c-c/README
+++ b/libraries/msgpack-c-c/README
@@ -1,21 +1,16 @@
MessagePack is an efficient binary serialisation format that lets you
-exchange data among multiple languages like JSON.
+exchange data among multiple languages like JSON.
Versions later than 3.3.0 have separate C and C++ implementations.
-This slackbuild builds only the C++ implementation of MessagePack as
-header-only library.
-If you need also the C implementation you have to build and install
-the package msgpack-c-c even. Both packages can coexist.
+This slackbuild builds only the C implementation of MessagePack.
+If you need also the C++ implementation you have to build and install
+the package msgpack-c-cpp even. Both packages can coexist.
-Note: msgpack-c-cpp conflicts with the old msgpack-c package, that
-implements both C and C++ but is based on a old outdated release of
+Note: msgpack-c-c conflicts with the old msgpack-c package, that
+implements both C and C++ but is based on old outdated release of
msgpack-c. If you have msgpack-c version 3.3.0 in your system, please
remove it before installing these package.
This slackbuild is experimental because some slackbuilds that require
msgpack-c should be updated. If your installed packages work still with
the old msgpack-c for version 3.3.0, you should kept it.
-
-At the moment, this package is tested and strictly required by mmtf-cpp,
-other slackbuilds based on msgpack-c could not work with this
-installation.
diff --git a/libraries/msgpack-c-c/msgpack-c-c.SlackBuild b/libraries/msgpack-c-c/msgpack-c-c.SlackBuild
index 6fdb6c3bc79b..a00924d9bda4 100644
--- a/libraries/msgpack-c-c/msgpack-c-c.SlackBuild
+++ b/libraries/msgpack-c-c/msgpack-c-c.SlackBuild
@@ -31,7 +31,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=msgpack-c-c
-VERSION=${VERSION:-6.0.1}
+VERSION=${VERSION:-6.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -63,6 +63,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -70,19 +73,19 @@ fi
set -e
-# msgpack-c and older versions use the same include dirs so them
-# cannot coexist with msgpack-c-cpp
+# msgpack-c-c and older versions use the same include dirs so them
+# cannot coexist with msgpack-c-c
if pkg-config --exists msgpack; then
echo "************************************************************************"
echo " WARNING: an old version of msgpack-c has been detected in your system!"
- echo " This conflicts with msgpack-c-cpp. Please remove old installations of"
+ echo " This conflicts with msgpack-c-c. Please remove old installations of"
echo " msgpack-c before installing this package"
echo " This script will be stopped"
echo "************************************************************************"
exit 1
fi
-if [ -d /usr/share/cmake-3.28 ]; then
+if [ -d /usr/share/cmake-3.3* ]; then
# This prevents some cmake warnings in current
CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0145=OLD "
else
diff --git a/libraries/msgpack-c-c/msgpack-c-c.info b/libraries/msgpack-c-c/msgpack-c-c.info
index 74301ee2b3de..8d67ad629b82 100644
--- a/libraries/msgpack-c-c/msgpack-c-c.info
+++ b/libraries/msgpack-c-c/msgpack-c-c.info
@@ -1,8 +1,8 @@
PRGNAM="msgpack-c-c"
-VERSION="6.0.1"
+VERSION="6.1.0"
HOMEPAGE="https://github.com/msgpack/msgpack-c"
-DOWNLOAD="https://github.com/msgpack/msgpack-c/releases/download/c-6.0.1/msgpack-c-6.0.1.tar.gz"
-MD5SUM="090df53a59b845767fcfc48221b30ee9"
+DOWNLOAD="https://github.com/msgpack/msgpack-c/releases/download/c-6.1.0/msgpack-c-6.1.0.tar.gz"
+MD5SUM="9054a97db4f88ad9b66c9eef079a5d5b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtest"