All of lore.kernel.org
 help / color / mirror / Atom feed
From: Francis Laniel <flaniel@linux.microsoft.com>
To: buildroot@buildroot.org
Cc: Francis Laniel <flaniel@linux.microsoft.com>,
	Angelo Compagnucci <angelo.compagnucci@gmail.com>,
	Samuel Martin <s.martin49@gmail.com>,
	"Yann E . MORIN" <yann.morin.1998@free.fr>
Subject: [Buildroot] [PATCH 1/3] nlohmann-json: add new package.
Date: Thu, 14 Apr 2022 18:43:56 +0100	[thread overview]
Message-ID: <20220414174358.38059-2-flaniel@linux.microsoft.com> (raw)
In-Reply-To: <20220414174358.38059-1-flaniel@linux.microsoft.com>

Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
---
 DEVELOPERS                               |  1 +
 package/Config.in                        |  1 +
 package/nlohmann-json/Config.in          |  7 +++++++
 package/nlohmann-json/nlohmann-json.hash |  3 +++
 package/nlohmann-json/nlohmann-json.mk   | 14 ++++++++++++++
 5 files changed, 26 insertions(+)
 create mode 100644 package/nlohmann-json/Config.in
 create mode 100644 package/nlohmann-json/nlohmann-json.hash
 create mode 100644 package/nlohmann-json/nlohmann-json.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index ca9decb58f..b997b859ed 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -969,6 +969,7 @@ F:	package/ipmitool/
 F:	package/odhcploc/
 
 N:	Francis Laniel <flaniel@linux.microsoft.com>
+F:	package/nlohmann-json
 F:	package/pahole/
 F:	package/sysdig/
 F:	package/tbb/
diff --git a/package/Config.in b/package/Config.in
index 24f7af5ea8..46df1b3540 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1700,6 +1700,7 @@ menu "JSON/XML"
 	source "package/libxslt/Config.in"
 	source "package/libyaml/Config.in"
 	source "package/mxml/Config.in"
+	source "package/nlohmann-json/Config.in"
 	source "package/pugixml/Config.in"
 	source "package/rapidjson/Config.in"
 	source "package/rapidxml/Config.in"
diff --git a/package/nlohmann-json/Config.in b/package/nlohmann-json/Config.in
new file mode 100644
index 0000000000..1e63fbc029
--- /dev/null
+++ b/package/nlohmann-json/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_NLOHMANN_JSON
+	bool "nlohmann-json"
+	help
+	  nlohmann/json is a header C++ library that allows manipulating JSON
+	  with an intuitive syntax.
+
+	  https://github.com/nlohmann/json
diff --git a/package/nlohmann-json/nlohmann-json.hash b/package/nlohmann-json/nlohmann-json.hash
new file mode 100644
index 0000000000..d69c4daf72
--- /dev/null
+++ b/package/nlohmann-json/nlohmann-json.hash
@@ -0,0 +1,3 @@
+# sha256 locally computed
+sha256  2fd1d207b4669a7843296c41d3b6ac5b23d00dec48dba507ba051d14564aa801  nlohmann-json-v3.3.0.tar.gz
+sha256  7b875bb7a4e28abb7956ea821b4b7d88ff6a2a4fabf261c3993730a365ec56dd  LICENSE.MIT
diff --git a/package/nlohmann-json/nlohmann-json.mk b/package/nlohmann-json/nlohmann-json.mk
new file mode 100644
index 0000000000..0810fe7b61
--- /dev/null
+++ b/package/nlohmann-json/nlohmann-json.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# nlohmann
+#
+################################################################################
+
+NLOHMANN_JSON_VERSION = v3.3.0
+NLOHMANN_JSON_SITE = $(call github,nlohmann,json,$(NLOHMANN_JSON_VERSION))
+NLOHMANN_JSON_LICENSE = MIT
+NLOHMANN_JSON_LICENSE_FILES = LICENSE.MIT
+NLOHMANN_JSON_CPE_ID_VENDOR = json++
+NLOHMANN_JSON_INSTALL_STAGING = YES
+
+$(eval $(cmake-package))
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-04-14 17:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14 17:43 [Buildroot] [PATCH 0/3] Bump sysdig to 0.29.1 Francis Laniel
2022-04-14 17:43 ` Francis Laniel [this message]
     [not found]   ` <d209da1d-df6a-031c-2cd2-c8dfe736338b@threespeedlogic.com>
2022-04-14 17:51     ` [Buildroot] [PATCH 1/3] nlohmann-json: add new package Francis Laniel
2022-04-14 17:43 ` [Buildroot] [PATCH 2/3] falcosecurity-libs: " Francis Laniel
2022-04-14 17:43 ` [Buildroot] [PATCH 3/3] package/sysdig: bump to 0.29.1 Francis Laniel
2022-04-14 18:54   ` Arnout Vandecappelle
2022-04-14 19:05     ` Arnout Vandecappelle
2022-04-15 10:06       ` Francis Laniel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220414174358.38059-2-flaniel@linux.microsoft.com \
    --to=flaniel@linux.microsoft.com \
    --cc=angelo.compagnucci@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=s.martin49@gmail.com \
    --cc=yann.morin.1998@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.