Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -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 | |
| 9 | DEPENDS = "libtool mysql5" |
| 10 | |
| 11 | SRC_URI = "ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-${PV}.tar.gz \ |
| 12 | file://do-not-use-libltdl-source-directory.patch \ |
| 13 | " |
| 14 | SRC_URI[md5sum] = "a8629fd2953b04b4639d0a9d8a5cf9d1" |
| 15 | SRC_URI[sha256sum] = "88b637f647c052ecc3861a3baa275c3b503b193b6a49ff8c28b2568656d14d69" |
| 16 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 17 | UPSTREAM_CHECK_REGEX = "unixODBC-(?P<pver>\d+(\.\d+)+)\.tar" |
| 18 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 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 | } |