Signed-off-by: Thorsten Scherer <[email protected]> --- 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 <[email protected]> +# +# 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
