summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-10-08 00:41:04 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-10-14 00:34:46 +0200
commit8c1a58d31d0d7fc06eeb6d538eb2153b6a5c2a09 (patch)
tree436c7f880b3f1565cb5585d09e2f0bbf2c18bd21
parent4c42cecbe64d143df1443dcb4968aa4b5262bcf5 (diff)
json: add new package
-rw-r--r--package/json/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/json/Makefile b/package/json/Makefile
new file mode 100644
index 000000000..5d63e90ef
--- /dev/null
+++ b/package/json/Makefile
@@ -0,0 +1,30 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= json
+PKG_VERSION:= 3.12.0
+PKG_RELEASE:= 1
+PKG_HASH:= 4b92eb0c06d10683f7447ce9406cb97cd4b453be18d7279320f7b2f025c10187
+PKG_DESCR:= C++ json library
+PKG_SECTION:= libs/misc
+PKG_URL:= https://github.com/nlohmann/json/
+PKG_SITES:= https://github.com/nlohmann/json/archive/refs/tags/
+PKG_OPTS:= dev
+
+DISTFILES:= v$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,JSON,json,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
+
+CONFIG_STYLE:= meson
+BUILD_STYLE:= meson
+INSTALL_STYLE:= meson
+
+json-install:
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk