name mysql-connector-odbc
set branch [join [lrange [split ${version} .] 0 1] .]
homepage https://www.mysql.com/products/connector/
The MySQL Connector/ODBC is the name for the family of MySQL ODBC drivers \
(previously called MyODBC drivers) that provide access to a MySQL database \
using the industry standard Open Database Connectivity (ODBC) API.
http://mysql.mirrors.pair.com/Downloads/Connector-ODBC/${branch}/ \
http://mysql.he.net/Downloads/Connector-ODBC/${branch}/ \
http://mirrors.sunsite.dk/mysql/Downloads/Connector-ODBC/${branch}/ \
http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/Connector-ODBC/${branch}/ \
http://ftp.plusline.de/mysql/Downloads/Connector-ODBC/${branch}/
checksums sha1 2272075c66712cf7a05e50eeb4520f7c504c3ae8 \
rmd160 0db5c4d42c7377f7fc1fa2ad569f50f9a497511e
--with-unixODBC=${prefix} \
--with-mysql-path=${prefix} \
reinplace "s;bin/mysql_config;bin/mysql_config5;" ${worksrcpath}/configure
livecheck.url https://dev.mysql.com/downloads/connector/odbc/${branch}.html
livecheck.regex ${name}-(${branch}.\[0-9\.\]+)
${prefix}/etc/odbcinst.ini
Description = ODBC for MySQL
Driver = ${prefix}/lib/libmyodbc5.so
Description = MySQL database test