mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] host-qrencode: New package
@ 2023-03-09  6:47 Thorsten Scherer
  2023-03-09  7:56 ` Thorsten Scherer
  0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Scherer @ 2023-03-09  6:47 UTC (permalink / raw)
  To: ptxdist; +Cc: t.scherer

Signed-off-by: Thorsten Scherer <t.scherer@eckelmann.de>
---
 host-qrencode.in   | 22 ++++++++++++++++++++++
 host-qrencode.make | 29 +++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)
 create mode 100644 host-qrencode.in
 create mode 100644 host-qrencode.make

diff --git a/host-qrencode.in b/host-qrencode.in
new file mode 100644
index 000000000..3ac6e7674
--- /dev/null
+++ b/host-qrencode.in
@@ -0,0 +1,22 @@
+## SECTION=hosttools_noprompt
+## SECTION=hosttools_platform
+
+config HOST_QRENCODE
+	tristate
+	select HOST_LIBPNG		if HOST_QRENCODE_TOOLS
+	help
+	  Libqrencode is a C library for encoding data in a QR Code symbol, a
+	  kind of 2D symbology that can be scanned by handy terminals such as a
+	  mobile phone with CCD.
+
+if HOST_QRENCODE
+
+config HOST_QRENCODE_TOOLS
+	bool
+	help
+	  Enable this option to build the qrencode tool to build QR codes from
+	  the command line.
+
+endif
+
+# vim: ft=kconfig ts=8 noet tw=80
diff --git a/host-qrencode.make b/host-qrencode.make
new file mode 100644
index 000000000..5fce96e00
--- /dev/null
+++ b/host-qrencode.make
@@ -0,0 +1,29 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2023 by Thorsten Scherer <t.scherer@eckelmann.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_QRENCODE) += host-qrencode
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_QRENCODE_CONF_TOOL	:= autoconf
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+# Use = instead of := because host-qrencode.make being included before qrencode.make
+HOST_QRENCODE_INSTALL_OPT	= \
+	$(HOST_ENV) \
+	prefix=$(HOST_QRENCODE_PKGDIR)/usr \
+
+# vim: syntax=make
-- 
2.38.0




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCH] host-qrencode: New package
  2023-03-09  6:47 [ptxdist] [PATCH] host-qrencode: New package Thorsten Scherer
@ 2023-03-09  7:56 ` Thorsten Scherer
  0 siblings, 0 replies; 2+ messages in thread
From: Thorsten Scherer @ 2023-03-09  7:56 UTC (permalink / raw)
  To: ptxdist; +Cc: t.scherer

Please do not apply.  Will send a v2.

On Thu, Mar 09, 2023 at 07:47:34AM +0100, Thorsten Scherer wrote:
> Signed-off-by: Thorsten Scherer <t.scherer@eckelmann.de>
> ---
>  host-qrencode.in   | 22 ++++++++++++++++++++++
>  host-qrencode.make | 29 +++++++++++++++++++++++++++++
>  2 files changed, 51 insertions(+)
>  create mode 100644 host-qrencode.in
>  create mode 100644 host-qrencode.make
> 
> diff --git a/host-qrencode.in b/host-qrencode.in
> new file mode 100644
> index 000000000..3ac6e7674
> --- /dev/null
> +++ b/host-qrencode.in
> @@ -0,0 +1,22 @@
> +## SECTION=hosttools_noprompt
> +## SECTION=hosttools_platform
> +
> +config HOST_QRENCODE
> +	tristate
> +	select HOST_LIBPNG		if HOST_QRENCODE_TOOLS
> +	help
> +	  Libqrencode is a C library for encoding data in a QR Code symbol, a
> +	  kind of 2D symbology that can be scanned by handy terminals such as a
> +	  mobile phone with CCD.
> +
> +if HOST_QRENCODE
> +
> +config HOST_QRENCODE_TOOLS
> +	bool
> +	help
> +	  Enable this option to build the qrencode tool to build QR codes from
> +	  the command line.
> +
> +endif
> +
> +# vim: ft=kconfig ts=8 noet tw=80
> diff --git a/host-qrencode.make b/host-qrencode.make
> new file mode 100644
> index 000000000..5fce96e00
> --- /dev/null
> +++ b/host-qrencode.make
> @@ -0,0 +1,29 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2023 by Thorsten Scherer <t.scherer@eckelmann.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_QRENCODE) += host-qrencode
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +HOST_QRENCODE_CONF_TOOL	:= autoconf
> +
> +# ----------------------------------------------------------------------------
> +# Install
> +# ----------------------------------------------------------------------------
> +
> +# Use = instead of := because host-qrencode.make being included before qrencode.make
> +HOST_QRENCODE_INSTALL_OPT	= \
> +	$(HOST_ENV) \
> +	prefix=$(HOST_QRENCODE_PKGDIR)/usr \
> +
> +# vim: syntax=make
> -- 
> 2.38.0
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-09  7:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-09  6:47 [ptxdist] [PATCH] host-qrencode: New package Thorsten Scherer
2023-03-09  7:56 ` Thorsten Scherer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox