msgpack-c: initial commit, version 4.0.0

This commit is contained in:
Tim Biermann 2022-11-27 17:59:18 +00:00
parent 73656d1036
commit 23bc70c3fa
3 changed files with 66 additions and 0 deletions

34
msgpack-c/.footprint Normal file
View File

@ -0,0 +1,34 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/msgpack.h
drwxr-xr-x root/root usr/include/msgpack/
-rw-r--r-- root/root usr/include/msgpack/fbuffer.h
-rw-r--r-- root/root usr/include/msgpack/gcc_atomic.h
-rw-r--r-- root/root usr/include/msgpack/object.h
-rw-r--r-- root/root usr/include/msgpack/pack.h
-rw-r--r-- root/root usr/include/msgpack/pack_define.h
-rw-r--r-- root/root usr/include/msgpack/pack_template.h
-rw-r--r-- root/root usr/include/msgpack/sbuffer.h
-rw-r--r-- root/root usr/include/msgpack/sysdep.h
-rw-r--r-- root/root usr/include/msgpack/timestamp.h
-rw-r--r-- root/root usr/include/msgpack/unpack.h
-rw-r--r-- root/root usr/include/msgpack/unpack_define.h
-rw-r--r-- root/root usr/include/msgpack/unpack_template.h
-rw-r--r-- root/root usr/include/msgpack/util.h
-rw-r--r-- root/root usr/include/msgpack/version.h
-rw-r--r-- root/root usr/include/msgpack/version_master.h
-rw-r--r-- root/root usr/include/msgpack/vrefbuffer.h
-rw-r--r-- root/root usr/include/msgpack/zbuffer.h
-rw-r--r-- root/root usr/include/msgpack/zone.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/msgpack/
-rw-r--r-- root/root usr/lib/cmake/msgpack/msgpack-config-version.cmake
-rw-r--r-- root/root usr/lib/cmake/msgpack/msgpack-config.cmake
-rw-r--r-- root/root usr/lib/cmake/msgpack/msgpack-targets-release.cmake
-rw-r--r-- root/root usr/lib/cmake/msgpack/msgpack-targets.cmake
lrwxrwxrwx root/root usr/lib/libmsgpackc.so -> libmsgpackc.so.2
lrwxrwxrwx root/root usr/lib/libmsgpackc.so.2 -> libmsgpackc.so.2.0.0
-rwxr-xr-x root/root usr/lib/libmsgpackc.so.2.0.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/msgpack.pc

5
msgpack-c/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF39d5T5OqqqvZAXjfhA58dHIAEuMebjhBxHvH1u/SgvQilBYKizzPRP+PCY6si+4IlIMA37SAcoZwDJ4wUCLUXAQ=
SHA256 (Pkgfile) = a55c45894ba644b4d10bc7c6c10386fe2455d4ceff6b1ff375f05acca7efa2c1
SHA256 (.footprint) = a7e3545f244b2aba4cbdea41e99afe5d23adb860818d475969962be16e432b08
SHA256 (msgpack-c-4.0.0.tar.gz) = 420fe35e7572f2a168d17e660ef981a589c9cbe77faa25eb34a520e1fcc032c8

27
msgpack-c/Pkgfile Normal file
View File

@ -0,0 +1,27 @@
# Description: An efficient object serialization library
# URL: https://msgpack.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: graphviz
name=msgpack-c
version=4.0.0
release=1
source=(https://github.com/msgpack/msgpack-c/releases/download/c-$version/$name-$version.tar.gz)
build() {
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D CMAKE_C_STANDARD='17' \
-D BUILD_SHARED_LIBS=ON \
-D MSGPACK_ENABLE_STATIC=OFF \
-D MSGPACK_BUILD_EXAMPLES=OFF \
-D MSGPACK_BUILD_TESTS=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}