Signed-off-by: Bastian Krause <[email protected]>
---
 rules/host-json-c.in   |  7 +++++++
 rules/host-json-c.make | 30 ++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)
 create mode 100644 rules/host-json-c.in
 create mode 100644 rules/host-json-c.make

diff --git a/rules/host-json-c.in b/rules/host-json-c.in
new file mode 100644
index 000000000..498de5d77
--- /dev/null
+++ b/rules/host-json-c.in
@@ -0,0 +1,7 @@
+## SECTION=hosttools_noprompt
+
+config HOST_JSON_C
+       tristate
+       default y if ALLYES
+       help
+         json bindings in C
diff --git a/rules/host-json-c.make b/rules/host-json-c.make
new file mode 100644
index 000000000..b88b9e444
--- /dev/null
+++ b/rules/host-json-c.make
@@ -0,0 +1,30 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Bastian Krause <[email protected]>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_JSON_C) += host-json-c
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_JSON_C_CONF_TOOL  := autoconf
+HOST_JSON_C_CONF_OPT   := \
+       $(HOST_AUTOCONF) \
+       --disable-threading \
+       --disable-rdrand \
+       --disable-static
+
+# vim: syntax=make
-- 
2.20.1


_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to