blob: 61378fec2962a38a7e60b9b2fe33b11334f385a0 [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/"
6LICENSE = "GPLv2"
7LIC_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
25do_configure_prepend() {
26 # old m4 files will cause libtool version don't match
27 rm -rf m4/*
28 rm -fr libltdl
29}