Last active
November 24, 2019 18:57
-
-
Save fran0x/e499e228a8e098e36ca4e80e686eedcc to your computer and use it in GitHub Desktop.
This file contains hidden or 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.18-src.tar.gz" | |
sha256 "63b20e446c0aadeddbbc5cef36db8222d602793e6f1e6de511bdf7bcb2181f86" | |
revision 2 | |
depends_on "boost" => :build | |
depends_on "cmake" => :build | |
depends_on "mysql-client" | |
depends_on "openssl" | |
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