Makefile 865 B

123456789101112131415161718192021222324252627282930
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= json
  5. PKG_VERSION:= 3.12.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 4b92eb0c06d10683f7447ce9406cb97cd4b453be18d7279320f7b2f025c10187
  8. PKG_DESCR:= C++ json library
  9. PKG_SECTION:= libs/misc
  10. PKG_URL:= https://github.com/nlohmann/json/
  11. PKG_SITES:= https://github.com/nlohmann/json/archive/refs/tags/
  12. PKG_OPTS:= dev
  13. DISTFILES:= v$(PKG_VERSION).tar.gz
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,JSON,json,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
  16. WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
  17. CONFIG_STYLE:= meson
  18. BUILD_STYLE:= meson
  19. INSTALL_STYLE:= meson
  20. json-install:
  21. include $(ADK_TOPDIR)/mk/pkg-bottom.mk