Last active
May 22, 2020 16:21
-
-
Save m4ce/1022d4ff00fc28c1aeb4e65823a06556 to your computer and use it in GitHub Desktop.
MySQL Connector C++ Homebrew formula
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MysqlConnectorCxx < Formula | |
desc "MySQL database connector for C++ applications" | |
homepage "https://dev.mysql.com/downloads/connector/cpp/" | |
url "https://dev.mysql.com/get/Downloads/Connector-C++/mysql-connector-c++-8.0.20-src.tar.gz" | |
sha256 "50eaebd1d59b5681b6959a8c5b95bdeeffd021db0f06264eb497706dbc5b39cb" | |
revision 3 | |
depends_on "boost" => :build | |
depends_on "cmake" => :build | |
depends_on "mysql-client" | |
depends_on "openssl@1.1" | |
def install | |
system "cmake", ".", *std_cmake_args, "-DCMAKE_INSTALL_LIBDIR=lib", "-DWITH_JDBC=ON" | |
system "make", "install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment