Signed-off-by: Clemens Gruber <clemens.gru...@pqgruber.com>
---
 rules/host-c-ares.in   |  5 +++++
 rules/host-c-ares.make | 40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 rules/host-c-ares.in
 create mode 100644 rules/host-c-ares.make

diff --git a/rules/host-c-ares.in b/rules/host-c-ares.in
new file mode 100644
index 000000000..f44f696a8
--- /dev/null
+++ b/rules/host-c-ares.in
@@ -0,0 +1,5 @@
+## SECTION=hosttools_noprompt
+
+config HOST_C_ARES
+       tristate
+       default y if ALLYES
diff --git a/rules/host-c-ares.make b/rules/host-c-ares.make
new file mode 100644
index 000000000..2e36d5c00
--- /dev/null
+++ b/rules/host-c-ares.make
@@ -0,0 +1,40 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Clemens Gruber <clemens.gru...@pqgruber.com>
+#
+# 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_C_ARES) += host-c-ares
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_C_ARES_CONF_TOOL  := autoconf
+HOST_C_ARES_CONF_OPT   := \
+       $(HOST_AUTOCONF) \
+       --disable-debug \
+       --enable-optimize \
+       --enable-warnings \
+       --disable-werror \
+       --disable-curldebug \
+       --enable-symbol-hiding \
+       --disable-expose-statics \
+       --disable-code-coverage \
+       $(GLOBAL_LARGE_FILE_OPTION) \
+       --disable-libgcc \
+       --enable-nonblocking \
+       --disable-tests \
+       --with-random=/dev/urandom
+
+# vim: syntax=make
-- 
2.19.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to