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

21 lines
530 B
Bash

# Template file for 'json-c++'
pkgname=json-c++
version=3.9.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=9943db11eeaa5b23e58a88fbc26c453faccef7b546e55063ad00e7caaaf76d0b
if [ -z "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DBUILD_TESTING=OFF"
fi
post_install() {
vlicense LICENSE.MIT
}