toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / unixodbc / unixodbc.mk
blobf66daab4a8b9ac4eaf36f21c5cd6ee638ddf19b4
1 ################################################################################
3 # unixodbc
5 ################################################################################
7 UNIXODBC_VERSION = 2.3.4
8 UNIXODBC_SOURCE = unixODBC-$(UNIXODBC_VERSION).tar.gz
9 UNIXODBC_SITE = ftp://ftp.unixodbc.org/pub/unixODBC
10 UNIXODBC_INSTALL_STAGING = YES
11 UNIXODBC_LICENSE = LGPLv2.1+ (library), GPLv2+ (programs)
12 UNIXODBC_LICENSE_FILES = COPYING exe/COPYING
14 UNIXODBC_CONF_OPTS = --enable-drivers --enable-driver-conf
16 ifeq ($(BR2_PACKAGE_LIBICONV),y)
17 UNIXODBC_CONF_OPTS += --enable-iconv
18 UNIXODBC_DEPENDENCIES += libiconv
19 else
20 UNIXODBC_CONF_OPTS += --disable-iconv
21 endif
23 ifeq ($(BR2_PACKAGE_READLINE),y)
24 UNIXODBC_CONF_OPTS += --enable-readline
25 UNIXODBC_DEPENDENCIES += readline
26 else
27 UNIXODBC_CONF_OPTS += --disable-readline
28 endif
30 $(eval $(autotools-package))