Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Eichinger <phil@zankapfel.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] New package: libqrencode
Date: Fri, 14 Jun 2013 10:47:46 +0200	[thread overview]
Message-ID: <1371199666-17156-1-git-send-email-phil@zankapfel.net> (raw)


Signed-off-by: Phil Eichinger <phil@zankapfel.net>
---
 package/Config.in                  |    1 +
 package/libqrencode/Config.in      |   20 ++++++++++++++++++++
 package/libqrencode/libqrencode.mk |   20 ++++++++++++++++++++
 3 files changed, 41 insertions(+)
 create mode 100644 package/libqrencode/Config.in
 create mode 100644 package/libqrencode/libqrencode.mk

diff --git a/package/Config.in b/package/Config.in
index ce82e99..3f4cbca 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -138,6 +138,7 @@ source "package/sdl_sound/Config.in"
 source "package/sdl_net/Config.in"
 source "package/sdl_ttf/Config.in"
 source "package/sdl_gfx/Config.in"
+source "package/libqrencode/Config.in"
 
 comment "other GUIs"
 source "package/efl/Config.in"
diff --git a/package/libqrencode/Config.in b/package/libqrencode/Config.in
new file mode 100644
index 0000000..285dba0
--- /dev/null
+++ b/package/libqrencode/Config.in
@@ -0,0 +1,20 @@
+config BR2_PACKAGE_LIBQRENCODE
+        bool "libqrencode"
+        select BR2_PACKAGE_LIBPNG
+        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. The capacity of 
+          QR Code is up to 7000 digits or 4000 characters, and is 
+          highly robust.
+
+          http://fukuchi.org/works/qrencode/index.html
+
+if BR2_PACKAGE_LIBQRENCODE
+
+config BR2_PACKAGE_LIBQRENCODE_TOOLS
+        bool "Command-line tools"
+        help
+          Build command-line tools
+
+endif #BR2_PACKAGE_LIBQRENCODE
diff --git a/package/libqrencode/libqrencode.mk b/package/libqrencode/libqrencode.mk
new file mode 100644
index 0000000..d47f866
--- /dev/null
+++ b/package/libqrencode/libqrencode.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# libqrencode
+#
+#############################################################
+
+LIBQRENCODE_VERSION = 3.4.2
+LIBQRENCODE_SOURCE = qrencode-$(LIBQRENCODE_VERSION).tar.gz
+LIBQRENCODE_SITE = http://fukuchi.org/works/qrencode
+LIBQRENCODE_DEPENDENCIES = libpng
+LIBQRENCODE_LICENSE = LGPLv2.1+
+LIBQRENCODE_LICENSE_FILES = COPYING
+
+ifeq ($(BR2_PACKAGE_LIBQRENCODE_TOOLS),y)
+        LIBQRENCODE_CONF_OPT += --with-tools=yes
+else
+        LIBQRENCODE_CONF_OPT += --with-tools=no
+endif
+
+$(eval $(autotools-package))
-- 
1.7.10.4

             reply	other threads:[~2013-06-14  8:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-14  8:47 Phil Eichinger [this message]
2013-06-15 20:10 ` [Buildroot] [PATCH 1/1] New package: libqrencode Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2013-06-14  8:06 Phil Eichinger
2013-06-14  8:24 ` Baruch Siach
2013-06-14  8:46   ` Phil Eichinger

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=1371199666-17156-1-git-send-email-phil@zankapfel.net \
    --to=phil@zankapfel.net \
    --cc=buildroot@busybox.net \
    /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