void-packages/srcpkgs/json-c++/template

21 lines
530 B
Bash

# Template file for 'json-c++'
pkgname=json-c++
version=3.7.0
revision=1
wrksrc="json-${version}"
build_style=cmake
short_desc="JSON for modern C++"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="MIT"
homepage="https://github.com/nlohmann/json"
distfiles="https://github.com/nlohmann/json/archive/v${version}.tar.gz"
checksum=d51a3a8d3efbb1139d7608e28782ea9efea7e7933157e8ff8184901efd8ee760
if [ -z "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DBUILD_TESTING=OFF"
fi
post_install() {
vlicense LICENSE.MIT
}