commit 23bc70c3fadc1c53f60147a26b1d02bcb110f7a5 Author: Tim Biermann <tbier@posteo.de> Date: Sun Nov 27 17:59:18 2022 +0000 msgpack-c: initial commit, version 4.0.0 diff --git a/msgpack-c/.footprint b/msgpack-c/.footprint new file mode 100644 index 000000000..a2def54a2 --- /dev/null +++ b/msgpack-c/.footprint @@ -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 diff --git a/msgpack-c/.signature b/msgpack-c/.signature new file mode 100644 index 000000000..a4e344fd9 --- /dev/null +++ b/msgpack-c/.signature @@ -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 diff --git a/msgpack-c/Pkgfile b/msgpack-c/Pkgfile new file mode 100644 index 000000000..0c126a82a --- /dev/null +++ b/msgpack-c/Pkgfile @@ -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-$ver...) + +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 +}