Blame view

buildroot/buildroot-2016.08.1/package/libqrencode/libqrencode.mk 805 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  ################################################################################
  #
  # 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))