package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / libqrencode / libqrencode.mk
blob5f30e77ba6117fd3d28ee2986d11565ae44826fb
1 ################################################################################
3 # libqrencode
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'
17 else
18 LIBQRENCODE_CONF_OPTS += --disable-thread-safety
19 endif
21 ifeq ($(BR2_PACKAGE_LIBQRENCODE_TOOLS),y)
22 LIBQRENCODE_CONF_OPTS += --with-tools=yes
23 LIBQRENCODE_DEPENDENCIES += libpng
24 else
25 LIBQRENCODE_CONF_OPTS += --with-tools=no
26 endif
28 $(eval $(autotools-package))