blob: b91c22e91931b9166504e00c272cb04a5c804855 [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"
14SRC_URI[md5sum] = "274a711b0c77394e052db6493840c6f9"
15SRC_URI[sha256sum] = "45f169ba1f454a72b8fcbb82abd832630a3bf93baa84731cf2949f449e1e3e77"
16
17UPSTREAM_CHECK_REGEX = "unixODBC-(?P<pver>\d+(\.\d+)+)\.tar"
18
19inherit autotools-brokensep
20
21S = "${WORKDIR}/unixODBC-${PV}"
22
23EXTRA_OEMAKE += "LIBS=-lltdl"
24
Patrick Williams213cb262021-08-07 19:21:33 -050025do_configure:prepend() {
Brad Bishop19323692019-04-05 15:28:33 -040026 # old m4 files will cause libtool version don't match
27 rm -rf m4/*
28 rm -fr libltdl
29}