Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "An Open Source ODBC sub-system" |
| 2 | DESCRIPTION = "unixODBC is an Open Source ODBC sub-system and an ODBC SDK \ |
| 3 | for Linux, Mac OSX, and UNIX." |
| 4 | |
| 5 | HOMEPAGE = "http://www.unixodbc.org/" |
| 6 | LICENSE = "GPLv2" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7b37bf80a3df5a65b355433ae36d206" |
| 8 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 9 | DEPENDS = "libtool readline" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 10 | |
| 11 | SRC_URI = "http://ftp.unixodbc.org/unixODBC-${PV}.tar.gz \ |
| 12 | file://do-not-use-libltdl-source-directory.patch \ |
| 13 | " |
| 14 | SRC_URI[md5sum] = "274a711b0c77394e052db6493840c6f9" |
| 15 | SRC_URI[sha256sum] = "45f169ba1f454a72b8fcbb82abd832630a3bf93baa84731cf2949f449e1e3e77" |
| 16 | |
| 17 | UPSTREAM_CHECK_REGEX = "unixODBC-(?P<pver>\d+(\.\d+)+)\.tar" |
| 18 | |
| 19 | inherit autotools-brokensep |
| 20 | |
| 21 | S = "${WORKDIR}/unixODBC-${PV}" |
| 22 | |
| 23 | EXTRA_OEMAKE += "LIBS=-lltdl" |
| 24 | |
| 25 | do_configure_prepend() { |
| 26 | # old m4 files will cause libtool version don't match |
| 27 | rm -rf m4/* |
| 28 | rm -fr libltdl |
| 29 | } |