1 ################################################################################
5 ################################################################################
7 LIBQRENCODE_VERSION
= 3.4.2
8 LIBQRENCODE_SOURCE
= qrencode-
$(LIBQRENCODE_VERSION
).
tar.gz
9 LIBQRENCODE_SITE
= http
://fukuchi.org
/works
/qrencode
10 LIBQRENCODE_DEPENDENCIES
= host-pkgconf
11 LIBQRENCODE_INSTALL_STAGING
= YES
12 LIBQRENCODE_LICENSE
= LGPLv2.1
+
13 LIBQRENCODE_LICENSE_FILES
= COPYING
15 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS
),y
)
16 LIBQRENCODE_CONF_ENV
+= LIBS
='-pthread'
18 LIBQRENCODE_CONF_OPTS
+= --disable-thread-safety
21 ifeq ($(BR2_PACKAGE_LIBQRENCODE_TOOLS
),y
)
22 LIBQRENCODE_CONF_OPTS
+= --with-tools
=yes
23 LIBQRENCODE_DEPENDENCIES
+= libpng
25 LIBQRENCODE_CONF_OPTS
+= --with-tools
=no
28 $(eval
$(autotools-package
))