diff --git a/libraries/msgpack-c/README b/libraries/msgpack-c/README index 405eb568b5..ecad9972cf 100644 --- a/libraries/msgpack-c/README +++ b/libraries/msgpack-c/README @@ -1,3 +1,14 @@ MessagePack is an efficient binary serialisation format that lets you exchange data among multiple languages like JSON. msgpack-c is a C and C++ implementation of MessagePack. + +Note: this is the lastest version of msgpack including both C and C++ +implementations. Later versions have separate implementations for these +languages. This slackbuild is maintained for compatibility with +some slackbuilds which require msgpack-c. + +If you want install a newer version (>=6.0.0) please refer to following +packages: +- msgpack-c-cpp for only C++ implementation +- msgpack-c-c for only C implementation +(both packages can coexist) diff --git a/libraries/msgpack-c/msgpack-c.SlackBuild b/libraries/msgpack-c/msgpack-c.SlackBuild index 938d027d7b..92d7d21e4b 100644 --- a/libraries/msgpack-c/msgpack-c.SlackBuild +++ b/libraries/msgpack-c/msgpack-c.SlackBuild @@ -2,6 +2,7 @@ # SlackBuild script for msgpack-c +# Copyright 2024 Giancarlo Dessi, Cagliari, IT # Copyright 2021 Ruben Schuller # Copyright 2014-2020 Benjamin Trigona-Harany # All rights reserved. @@ -30,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=msgpack-c VERSION=${VERSION:-3.3.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,6 +82,7 @@ find -L . \ -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +sed -i ./CMakeLists.txt -e "s/(VERSION 2.8.12)/(VERSION 3.5)/g" mkdir -p build cd build @@ -90,6 +92,8 @@ cd build -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \ + -DMSGPACK_BUILD_TESTS=OFF \ + -DMSGPACK_BUILD_EXAMPLES=OFF \ .. make install/strip DESTDIR=$PKG cd .. diff --git a/libraries/msgpack-c/msgpack-c.info b/libraries/msgpack-c/msgpack-c.info index a30497cb5e..e746c6b2e4 100644 --- a/libraries/msgpack-c/msgpack-c.info +++ b/libraries/msgpack-c/msgpack-c.info @@ -6,5 +6,5 @@ MD5SUM="e676575d52caae974e579c3d5f0ba6a2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Ruben Schuller" -EMAIL="sb@rbn.im" +MAINTAINER="Giancarlo Dessi" +EMAIL="slack@giand.it"