2013-06-14 10:47:46 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libqrencode
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
LIBQRENCODE_VERSION = 3.4.2
|
|
|
|
LIBQRENCODE_SOURCE = qrencode-$(LIBQRENCODE_VERSION).tar.gz
|
|
|
|
LIBQRENCODE_SITE = http://fukuchi.org/works/qrencode
|
2014-09-15 00:31:02 +02:00
|
|
|
LIBQRENCODE_DEPENDENCIES = host-pkgconf
|
2013-06-14 10:47:46 +02:00
|
|
|
LIBQRENCODE_INSTALL_STAGING = YES
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBQRENCODE_LICENSE = LGPL-2.1+
|
2013-06-14 10:47:46 +02:00
|
|
|
LIBQRENCODE_LICENSE_FILES = COPYING
|
|
|
|
|
2014-09-14 16:14:51 +02:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
|
|
LIBQRENCODE_CONF_ENV += LIBS='-pthread'
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBQRENCODE_CONF_OPTS += --disable-thread-safety
|
2014-09-14 16:14:51 +02:00
|
|
|
endif
|
|
|
|
|
2013-06-14 10:47:46 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBQRENCODE_TOOLS),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBQRENCODE_CONF_OPTS += --with-tools=yes
|
2013-11-08 04:10:39 +01:00
|
|
|
LIBQRENCODE_DEPENDENCIES += libpng
|
2013-06-14 10:47:46 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBQRENCODE_CONF_OPTS += --with-tools=no
|
2013-06-14 10:47:46 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|