21 lines
763 B
Bash
21 lines
763 B
Bash
# Template file for 'msgpack-cxx'
|
|
pkgname=msgpack-cxx
|
|
version=6.1.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DMSGPACK_CXX17=ON"
|
|
makedepends="boost-devel"
|
|
checkdepends="gtest-devel zlib-devel"
|
|
depends="boost-devel"
|
|
short_desc="Binary-based efficient object serialization library for C++"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="BSL-1.0"
|
|
homepage="https://github.com/msgpack/msgpack-c/tree/cpp_master"
|
|
changelog="https://github.com/msgpack/msgpack-c/raw/cpp_master/CHANGELOG.md"
|
|
distfiles="https://github.com/msgpack/msgpack-c/releases/download/cpp-${version}/msgpack-cxx-${version}.tar.gz"
|
|
checksum=5fd555742e37bbd58d166199e669f01f743c7b3c6177191dd7b31fb0c37fa191
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -DMSGPACK_BUILD_TESTS=ON"
|
|
fi
|