Blame view

buildroot/buildroot-2016.08.1/package/unixodbc/unixodbc.mk 847 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
29
30
  ################################################################################
  #
  # unixodbc
  #
  ################################################################################
  
  UNIXODBC_VERSION = 2.3.2
  UNIXODBC_SOURCE = unixODBC-$(UNIXODBC_VERSION).tar.gz
  UNIXODBC_SITE = ftp://ftp.unixodbc.org/pub/unixODBC
  UNIXODBC_INSTALL_STAGING = YES
  UNIXODBC_LICENSE = LGPLv2.1+ (library), GPLv2+ (programs)
  UNIXODBC_LICENSE_FILES = COPYING exe/COPYING
  
  UNIXODBC_CONF_OPTS = --enable-drivers --enable-driver-conf
  
  ifeq ($(BR2_PACKAGE_LIBICONV),y)
  UNIXODBC_CONF_OPTS += --enable-iconv
  UNIXODBC_DEPENDENCIES += libiconv
  else
  UNIXODBC_CONF_OPTS += --disable-iconv
  endif
  
  ifeq ($(BR2_PACKAGE_READLINE),y)
  UNIXODBC_CONF_OPTS += --enable-readline
  UNIXODBC_DEPENDENCIES += readline
  else
  UNIXODBC_CONF_OPTS += --disable-readline
  endif
  
  $(eval $(autotools-package))