libraries/msgpack-c: Updates.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a72eb18486
commit
0ffa79ee28
|
@ -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)
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
# SlackBuild script for msgpack-c
|
||||
|
||||
# Copyright 2024 Giancarlo Dessi, Cagliari, IT
|
||||
# Copyright 2021 Ruben Schuller <sb@rbn.im>
|
||||
# Copyright 2014-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
|
||||
# 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 ..
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue