Skip to contentSkip to conversation

New package: libqrencode

PATCH New Phil Eichinger 3 participants 3 messages Jun 14, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 New package: libqrencode

---
 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
package/Config.in +1 -0
index ce82e99..3f4cbca 100644
@@ -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"
package/libqrencode/Config.in new file +20 -0
new file mode 100644
index 0000000..285dba0
@@ -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
package/libqrencode/libqrencode.mk new file +20 -0
new file mode 100644
index 0000000..121fd86
@@ -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 = GPLv2+
+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))
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 New package: libqrencode

Hi Phil,

Thanks for contributing. A couple of comments below.

Quoted 3 lines · Phil Eichinger

---

[...]

Quoted 7 lines
package/libqrencode/libqrencode.mk new file +0 -0
new file mode 100644
index 0000000..121fd86

package/libqrencode/libqrencode.mk line 8

Quoted 8 lines
package/libqrencode/libqrencode.mk new file +8 -0
@@ -0,0 +1,20 @@
+#############################################################
+#
+# libqrencode
+#
+#############################################################
+
+LIBQRENCODE_VERSION = 3.4.2
+LIBQRENCODE_SOURCE = qrencode-$(LIBQRENCODE_VERSION).tar.gz

This the default, you can remove this line.

package/libqrencode/libqrencode.mk line 11

Quoted 3 lines
package/libqrencode/libqrencode.mk new file +3 -0
+LIBQRENCODE_SITE = http://fukuchi.org/works/qrencode
+LIBQRENCODE_DEPENDENCIES = libpng
+LIBQRENCODE_LICENSE = GPLv2+

The web page and README/COPYING file say the license is LGPLv2.1+.

package/libqrencode/libqrencode.mk line 20

Quoted 9 lines
package/libqrencode/libqrencode.mk new file +9 -0
+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))

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#2 lore raw

PATCH 1/1 New package: libqrencode

Quoted 20 lines · Baruch Siach

Hi Phil,

Thanks for contributing. A couple of comments below.

Quoted 3 lines · Phil Eichinger

---

[...]

Quoted 9 lines
package/libqrencode/libqrencode.mk new file +2 -0
new file mode 100644
index 0000000..121fd86
@@ -0,0 +1,20 @@
+#############################################################
+#
Quoted 9 lines

package/libqrencode/libqrencode.mk line 8

Quoted 6 lines
package/libqrencode/libqrencode.mk new file +6 -0
+# libqrencode
+#
+#############################################################
+
+LIBQRENCODE_VERSION = 3.4.2
+LIBQRENCODE_SOURCE = qrencode-$(LIBQRENCODE_VERSION).tar.gz

This the default, you can remove this line.

If i remove this line it defaults to libqrencode-3.4.2.tar.gz, but the actual filename is qrencode-3.4.2.tar.gz

Quoted 7 lines

package/libqrencode/libqrencode.mk line 11

Quoted 4 lines
package/libqrencode/libqrencode.mk new file +3 -0
+LIBQRENCODE_SITE = http://fukuchi.org/works/qrencode
+LIBQRENCODE_DEPENDENCIES = libpng
+LIBQRENCODE_LICENSE = GPLv2+

The web page and README/COPYING file say the license is LGPLv2.1+.

You are absolutely correct, sorry about that, I'll post an updated patch.

cheers, Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130614/bf5bc602/attachment.html>