From 7809d90ea902179ef9a92a2ca8eae4175d650e70 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Sat, 16 Apr 2022 02:52:36 +0300 Subject: [PATCH] Tox messaging protocol: msgpack-c --- programming/library/msgpack-c/actions.py | 23 ++++++++++ programming/library/msgpack-c/pspec.xml | 54 ++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 programming/library/msgpack-c/actions.py create mode 100644 programming/library/msgpack-c/pspec.xml diff --git a/programming/library/msgpack-c/actions.py b/programming/library/msgpack-c/actions.py new file mode 100644 index 0000000000..b4b244e61b --- /dev/null +++ b/programming/library/msgpack-c/actions.py @@ -0,0 +1,23 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import shelltools, cmaketools, pisitools, get + +j = ''.join([ + ' -DMSGPACK_BUILD_EXAMPLES=OFF', + ' -DMSGPACK_ENABLE_STATIC=OFF ' + ]) + +def setup(): + cmaketools.configure("-B_build %s -L" % j) + +def build(): + shelltools.cd("_build") + cmaketools.make() + +def install(): + shelltools.cd("_build") + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/programming/library/msgpack-c/pspec.xml b/programming/library/msgpack-c/pspec.xml new file mode 100644 index 0000000000..9bded5f5d4 --- /dev/null +++ b/programming/library/msgpack-c/pspec.xml @@ -0,0 +1,54 @@ + + + + + msgpack-c + https://msgpack.org/ + + fury + uglyside@yandex.ru + + Boost + library + programming.library + It's like JSON but smaller and faster. + MessagePack is an efficient binary serialization format, which lets you exchange data among multiple languages like JSON, except that it's faster and smaller. Small integers are encoded into a single byte and short strings require only one extra byte in addition to the strings themselves. + + https://github.com/msgpack/msgpack-c/releases/download/c-4.0.0/msgpack-c-4.0.0.tar.gz + + + cmake + + + + + msgpack-c + + + + + /usr/lib + + + + + msgpack-c-devel + + msgpack-c + + + /usr/lib/pkgconfig + /usr/include + + + + + + 2022-04-14 + 4.0.0 + First build. + fury + uglyside@yandex.ru + + +