homebrew-core/Formula/mysql-connector-c.rb
asaph 726c572568 mysql-connector-c 6.1.3
Update to latest version. In order to get this lib to build on Mavericks,
I had to use the workaround documented here http://bugs.mysql.com/bug.php?id=70751

mysql-connector-c: v 6.1.3 compiles with libc++

Closes Homebrew/homebrew#25262.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-29 16:00:03 +01:00

24 lines
590 B
Ruby

require 'formula'
class MysqlConnectorC < Formula
homepage 'http://dev.mysql.com/downloads/connector/c/'
url 'http://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-6.1.3-src.tar.gz'
sha1 'd70392aafb9ddeddd797c8131898e8727f904898'
depends_on 'cmake' => :build
conflicts_with 'mysql', 'mariadb', 'percona-server',
:because => 'both install MySQL client libraries'
fails_with :llvm do
build 2334
cause "Unsupported inline asm"
end
def install
system "cmake", ".", *std_cmake_args
system 'make'
ENV.j1
system 'make install'
end
end