17e226606a
This patch already exists upstream, but is needed for nwg-launchers.
20 lines
530 B
Bash
20 lines
530 B
Bash
# Template file for 'json-c++'
|
|
pkgname=json-c++
|
|
version=3.8.0
|
|
revision=2
|
|
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=7d0edf65f2ac7390af5e5a0b323b31202a6c11d744a74b588dc30f5a8c9865ba
|
|
|
|
if [ -z "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -DBUILD_TESTING=OFF"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE.MIT
|
|
}
|