homebrew-core/Formula/mysql-connector-c++.rb
Alan Pearce 45df5fb88c mysql-connector-c++: allow mariadb/percona-server
Fixes Homebrew/homebrew#27025.
Closes Homebrew/homebrew#27421.

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

24 lines
553 B
Ruby

require 'formula'
class MysqlConnectorCxx < Formula
homepage 'http://dev.mysql.com/downloads/connector/cpp/'
url 'http://mysql.he.net/Downloads/Connector-C++/mysql-connector-c++-1.1.3.tar.gz'
sha1 'b817dccf3a4e340b6a972028ceb7eededaaebd6f'
class MysqlClient < Requirement
fatal true
default_formula "mysql"
satisfy { which 'mysql' }
end
depends_on 'cmake' => :build
depends_on 'boost' => :build
depends_on MysqlClient
def install
system "cmake", ".", *std_cmake_args
ENV.j1
system "make install"
end
end