2015-03-13 21:25:06 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# unixodbc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-08-27 09:35:11 +02:00
|
|
|
UNIXODBC_VERSION = 2.3.4
|
2015-03-13 21:25:06 +01:00
|
|
|
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
|
|
|
|
|
2017-02-04 17:43:27 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBTOOL),y)
|
|
|
|
UNIXODBC_CONF_OPTS += --without-included-ltdl
|
|
|
|
UNIXODBC_DEPENDENCIES += libtool
|
|
|
|
else
|
|
|
|
UNIXODBC_CONF_OPTS += --with-included-ltdl
|
|
|
|
endif
|
|
|
|
|
2015-03-13 21:25:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
|
|
|
UNIXODBC_CONF_OPTS += --enable-readline
|
|
|
|
UNIXODBC_DEPENDENCIES += readline
|
|
|
|
else
|
|
|
|
UNIXODBC_CONF_OPTS += --disable-readline
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|