blob: c7d23d120224a7d1890d8cec606dd634bb62f431 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001SUMMARY = "An Open Source ODBC sub-system"
2DESCRIPTION = "unixODBC is an Open Source ODBC sub-system and an ODBC SDK \
3for Linux, Mac OSX, and UNIX."
4
5HOMEPAGE = "http://www.unixodbc.org/"
Andrew Geissler9aee5002022-03-30 16:27:02 +00006LICENSE = "GPL-2.0-only"
Brad Bishop19323692019-04-05 15:28:33 -04007LIC_FILES_CHKSUM = "file://COPYING;md5=d7b37bf80a3df5a65b355433ae36d206"
8
Brad Bishop26bdd442019-08-16 17:08:17 -04009DEPENDS = "libtool readline"
Brad Bishop19323692019-04-05 15:28:33 -040010
11SRC_URI = "http://ftp.unixodbc.org/unixODBC-${PV}.tar.gz \
12 file://do-not-use-libltdl-source-directory.patch \
13"
Andrew Geisslerd5838332022-05-27 11:33:10 -050014SRC_URI[sha256sum] = "d9e55c8e7118347e3c66c87338856dad1516b490fb7c756c1562a2c267c73b5c"
Brad Bishop19323692019-04-05 15:28:33 -040015
16UPSTREAM_CHECK_REGEX = "unixODBC-(?P<pver>\d+(\.\d+)+)\.tar"
17
18inherit autotools-brokensep
19
20S = "${WORKDIR}/unixODBC-${PV}"
21
22EXTRA_OEMAKE += "LIBS=-lltdl"
23
Patrick Williams213cb262021-08-07 19:21:33 -050024do_configure:prepend() {
Brad Bishop19323692019-04-05 15:28:33 -040025 # old m4 files will cause libtool version don't match
26 rm -rf m4/*
27 rm -fr libltdl
28}