memcached: bump version to 1.4.36
[buildroot-gz.git] / package / unixodbc / unixodbc.mk
blob280fe579136b171c68f7c0d79a18b7191e451ee0
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_LIBTOOL),y)
24 UNIXODBC_CONF_OPTS += --without-included-ltdl
25 UNIXODBC_DEPENDENCIES += libtool
26 else
27 UNIXODBC_CONF_OPTS += --with-included-ltdl
28 endif
30 ifeq ($(BR2_PACKAGE_READLINE),y)
31 UNIXODBC_CONF_OPTS += --enable-readline
32 UNIXODBC_DEPENDENCIES += readline
33 else
34 UNIXODBC_CONF_OPTS += --disable-readline
35 endif
37 $(eval $(autotools-package))