Commit b53866bb authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

component/mariadb: add MariaDB Connector/C 2.3.2.

parent fa6a23db
......@@ -20,6 +20,26 @@ extends =
parts =
mariadb
[mariadb-connector-c]
recipe = slapos.recipe.cmmi
version = 2.3.2
url = https://downloads.mariadb.com/Connectors/c/connector-c-${:version}/mariadb-connector-c-${:version}-src.tar.gz
md5sum = cbee903e8581ca73b0aecfe9b7498c65
location = ${buildout:parts-directory}/${:_buildout_section_name_}
configure-command = ${cmake:location}/bin/cmake
configure-options =
-DCMAKE_INSTALL_PREFIX=${:location}
-DOPENSSL_INCLUDE_DIR=${openssl:location}/include
-DOPENSSL_CRYPTO_LIBRARY=${openssl:location}/lib/libcrypto.so
-DOPENSSL_SSL_LIBRARY=${openssl:location}/lib/libssl.so
-DWITH_EXTERNAL_ZLIB=1
-DCMAKE_C_FLAGS=-I${zlib:location}/include
-DCMAKE_INSTALL_RPATH=${openssl:location}/lib:${zlib:location}/lib
environment =
CMAKE_PROGRAM_PATH=${cmake:location}/bin
post-install =
ln -sf mariadb_config ${:location}/bin/mysql_config
[mariadb]
recipe = slapos.recipe.cmmi
version = 10.1.21
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment