mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-07 23:46:51 +08:00
libiodbc latest version (3.52.13) was automatically installed causing qt-config-gui to fail build, this installs version 3.52.12. Task-number: QTQAINFRA-3188 Change-Id: I5b87ff04c2301a5471cc9abfa0849b6073a1bdd4 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
24 lines
674 B
Ruby
24 lines
674 B
Ruby
class Libiodbc < Formula
|
|
desc "Database connectivity layer based on ODBC. (alternative to unixodbc)"
|
|
homepage "http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/"
|
|
url "https://github.com/openlink/iODBC/archive/v3.52.12.tar.gz"
|
|
sha256 "b2cab4f8fbd5388344d7ee0deb1a32310795b1e631c3505a5b515d90186e2516"
|
|
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "libtool" => :build
|
|
|
|
conflicts_with "unixodbc", :because => "both install 'odbcinst.h' header"
|
|
|
|
def install
|
|
system "./autogen.sh"
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system bin/"iodbc-config", "--version"
|
|
end
|
|
end
|
|
|