void-packages/srcpkgs/json-c++/template
2020-11-21 14:01:06 -08:00

22 lines
592 B
Bash

# Template file for 'json-c++'
pkgname=json-c++
version=3.9.1
revision=2
wrksrc="json-${version}"
build_style=cmake
configure_args="-DJSON_MultipleHeaders=ON"
checkdepends="git"
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=4cf0df69731494668bdd6460ed8cb269b68de9c19ad8c27abc24cd72605b2d5b
if [ -z "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DBUILD_TESTING=OFF"
fi
post_install() {
vlicense LICENSE.MIT
}