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