aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
29 lines
805 B
Makefile
29 lines
805 B
Makefile
################################################################################
|
|
#
|
|
# libqrencode
|
|
#
|
|
################################################################################
|
|
|
|
LIBQRENCODE_VERSION = 3.4.2
|
|
LIBQRENCODE_SOURCE = qrencode-$(LIBQRENCODE_VERSION).tar.gz
|
|
LIBQRENCODE_SITE = http://fukuchi.org/works/qrencode
|
|
LIBQRENCODE_DEPENDENCIES = host-pkgconf
|
|
LIBQRENCODE_INSTALL_STAGING = YES
|
|
LIBQRENCODE_LICENSE = LGPLv2.1+
|
|
LIBQRENCODE_LICENSE_FILES = COPYING
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
LIBQRENCODE_CONF_ENV += LIBS='-pthread'
|
|
else
|
|
LIBQRENCODE_CONF_OPTS += --disable-thread-safety
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBQRENCODE_TOOLS),y)
|
|
LIBQRENCODE_CONF_OPTS += --with-tools=yes
|
|
LIBQRENCODE_DEPENDENCIES += libpng
|
|
else
|
|
LIBQRENCODE_CONF_OPTS += --with-tools=no
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|