mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Thorsten Scherer <t.scherer@eckelmann.de>
To: ptxdist@pengutronix.de
Cc: t.scherer@eckelmann.de
Subject: [ptxdist] [PATCH] host-qrencode: New package
Date: Thu,  9 Mar 2023 07:47:34 +0100	[thread overview]
Message-ID: <20230309064734.54733-1-t.scherer@eckelmann.de> (raw)

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




             reply	other threads:[~2023-03-09  6:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-09  6:47 Thorsten Scherer [this message]
2023-03-09  7:56 ` Thorsten Scherer

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=20230309064734.54733-1-t.scherer@eckelmann.de \
    --to=t.scherer@eckelmann.de \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox