# This file is part of MXE. See LICENSE.md for licensing information. PKG := nlohmann-json $(PKG)_WEBSITE := https://json.nlohmann.me/ $(PKG)_DESCR := JSON for Modern C++ $(PKG)_IGNORE := $(PKG)_VERSION := 3.11.3 $(PKG)_CHECKSUM := 0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406 $(PKG)_SUBDIR := json-$($(PKG)_VERSION) $(PKG)_FILE := v$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://github.com/nlohmann/json/archive/refs/tags/$($(PKG)_FILE) $(PKG)_DEPS := cc define $(PKG)_UPDATE $(WGET) -q -O- 'https://github.com/nlohmann/json/tags' | \ grep ' '$(PREFIX)/$(TARGET)/lib/pkgconfig/$(PKG).pc' # compile test '$(TARGET)-g++' \ -W -Wall -Werror \ '$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \ `'$(TARGET)-pkg-config' $(PKG) --cflags --libs` endef