764176324e
cpe:2.3🅰️unixodbc:unixodbc is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aunixodbc%3Aunixodbc Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# unixodbc
|
|
#
|
|
################################################################################
|
|
|
|
UNIXODBC_VERSION = 2.3.9
|
|
UNIXODBC_SOURCE = unixODBC-$(UNIXODBC_VERSION).tar.gz
|
|
UNIXODBC_SITE = ftp://ftp.unixodbc.org/pub/unixODBC
|
|
UNIXODBC_INSTALL_STAGING = YES
|
|
UNIXODBC_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (programs)
|
|
UNIXODBC_LICENSE_FILES = COPYING exe/COPYING
|
|
UNIXODBC_CPE_ID_VENDOR = unixodbc
|
|
|
|
UNIXODBC_CONF_OPTS = --enable-drivers --enable-driver-conf
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBEDIT),y)
|
|
UNIXODBC_CONF_OPTS += --enable-editline
|
|
UNIXODBC_DEPENDENCIES += libedit
|
|
else
|
|
UNIXODBC_CONF_OPTS += --disable-editline
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
UNIXODBC_CONF_OPTS += --enable-iconv
|
|
UNIXODBC_DEPENDENCIES += libiconv
|
|
else
|
|
UNIXODBC_CONF_OPTS += --disable-iconv
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBTOOL),y)
|
|
UNIXODBC_CONF_OPTS += --without-included-ltdl
|
|
UNIXODBC_DEPENDENCIES += libtool
|
|
else
|
|
UNIXODBC_CONF_OPTS += --with-included-ltdl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
|
UNIXODBC_CONF_OPTS += --enable-readline
|
|
UNIXODBC_DEPENDENCIES += readline
|
|
else
|
|
UNIXODBC_CONF_OPTS += --disable-readline
|
|
endif
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
UNIXODBC_CONF_OPTS += --enable-threads
|
|
else
|
|
UNIXODBC_CONF_OPTS += --disable-threads
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|