Files
meta-openembedded/meta-oe/recipes-support/unixodbc/unixodbc_2.3.7.bb
Callaghan, Dan a85944ed25 unixodbc: mysql5 is not required but readline is
The unixODBC package no longer includes a driver for MySQL (that lives
elsewhere) so there is no reason to require MySQL libs at build time.

It does, however, want to build against readline, which was being pulled
in transitively by mysql5 before.

Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-08 10:04:23 -07:00

30 lines
851 B
BlitzBasic

SUMMARY = "An Open Source ODBC sub-system"
DESCRIPTION = "unixODBC is an Open Source ODBC sub-system and an ODBC SDK \
for Linux, Mac OSX, and UNIX."
HOMEPAGE = "http://www.unixodbc.org/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7b37bf80a3df5a65b355433ae36d206"
DEPENDS = "libtool readline"
SRC_URI = "http://ftp.unixodbc.org/unixODBC-${PV}.tar.gz \
file://do-not-use-libltdl-source-directory.patch \
"
SRC_URI[md5sum] = "274a711b0c77394e052db6493840c6f9"
SRC_URI[sha256sum] = "45f169ba1f454a72b8fcbb82abd832630a3bf93baa84731cf2949f449e1e3e77"
UPSTREAM_CHECK_REGEX = "unixODBC-(?P<pver>\d+(\.\d+)+)\.tar"
inherit autotools-brokensep
S = "${WORKDIR}/unixODBC-${PV}"
EXTRA_OEMAKE += "LIBS=-lltdl"
do_configure_prepend() {
# old m4 files will cause libtool version don't match
rm -rf m4/*
rm -fr libltdl
}