kumquat-buildroot/package/libdbi-drivers/libdbi-drivers.mk
Herve Codina f032973fc5 package/libdbi-drivers: bump to commit b0c7ac0ef2e7
This package has a buildroot local patch
0001-build-Use-MYSQL_CONFIG-variable-instead-of-mysql_con.patch

This patch was submitted and applied upstream.
https://sourceforge.net/p/libdbi-drivers/mailman/message/37370618/

Bumping to this commit allows to discard the no more needed
buildroot local patch.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-03 18:46:12 +01:00

49 lines
1.6 KiB
Makefile

################################################################################
#
# libdbi-drivers
#
################################################################################
LIBDBI_DRIVERS_VERSION = b0c7ac0ef2e733e858c9870139944eeaf7b66984
LIBDBI_DRIVERS_SITE = https://git.code.sf.net/p/libdbi-drivers/libdbi-drivers
LIBDBI_DRIVERS_SITE_METHOD = git
LIBDBI_DRIVERS_LICENSE = LGPL-2.1+
LIBDBI_DRIVERS_LICENSE_FILES = COPYING
LIBDBI_DRIVERS_INSTALL_STAGING = YES
LIBDBI_DRIVERS_DEPENDENCIES = libdbi host-pkgconf
LIBDBI_DRIVERS_AUTORECONF = YES
LIBDBI_DRIVERS_CONF_OPTS = --with-dbi-libdir=$(STAGING_DIR)/usr/lib
ifeq ($(BR2_PACKAGE_MYSQL),y)
LIBDBI_DRIVERS_DEPENDENCIES += mysql
LIBDBI_DRIVERS_CONF_OPTS += --with-mysql
LIBDBI_DRIVERS_CONF_ENV += MYSQL_CONFIG="$(STAGING_DIR)/usr/bin/mysql_config"
else
LIBDBI_DRIVERS_CONF_OPTS += --without-mysql
endif
ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
LIBDBI_DRIVERS_DEPENDENCIES += postgresql
LIBDBI_DRIVERS_CONF_OPTS += --with-pgsql
else
LIBDBI_DRIVERS_CONF_OPTS += --without-pgsql
endif
LIBDBI_DRIVERS_CONF_OPTS += --without-sqlite
ifeq ($(BR2_PACKAGE_SQLITE),y)
LIBDBI_DRIVERS_DEPENDENCIES += sqlite
LIBDBI_DRIVERS_CONF_OPTS += --with-sqlite3
else
LIBDBI_DRIVERS_CONF_OPTS += --without-sqlite3
endif
LIBDBI_DRIVERS_CONF_OPTS += --without-msql # MiniSQL
LIBDBI_DRIVERS_CONF_OPTS += --without-oracle # Oracle OCI
LIBDBI_DRIVERS_CONF_OPTS += --without-firebird # Firebird/Interbase
LIBDBI_DRIVERS_CONF_OPTS += --without-freetds # Freetds
LIBDBI_DRIVERS_CONF_OPTS += --without-ingres # Ingres
LIBDBI_DRIVERS_CONF_OPTS += --without-db2 # IBM DB2
$(eval $(autotools-package))