# This file created by conda-build 3.24.0
# meta.yaml template originally from:
# /home/conda/recipe_root, last modified Wed Oct 18 17:46:10 2023
# ------------------------------------------------

package:
  name: mysql-connector-c
  version: 6.1.11
source:
  fn: mysql-connector-c-6.1.11.tar.gz
  patches:
    - patches/0002-CPPFLAGS-can-have-more-than-one-compiler-definition.patch
    - patches/0003-GCC-7-Fix-empty-string-comparison-error.patch
    - patches/0004-Don-t-use-deprecated-API-with-openssl-1.1.patch
    - patches/0005-fix-conditional-ordering.patch
    - patches/0006-allow-openssl-3.patch
  sha256: c8664851487200162b38b6f3c8db69850bd4f0e4c5ff5a6d161dbfb5cb76b6c4
  url: https://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-6.1.11-src.tar.gz
build:
  number: '1008'
  run_exports:
    - mysql-connector-c >=6.1.11,<6.1.12.0a0
  string: h659d440_1008
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - binutils_impl_linux-64 2.40 hf600244_0
    - binutils_linux-64 2.40 hbdbef99_2
    - bzip2 1.0.8 h7f98852_4
    - c-ares 1.20.1 hd590300_0
    - ca-certificates 2023.7.22 hbcca054_0
    - cmake 3.27.6 hcfe8598_0
    - gcc_impl_linux-64 12.3.0 he2b93b0_2
    - gcc_linux-64 12.3.0 h76fc315_2
    - gxx_impl_linux-64 12.3.0 he2b93b0_2
    - gxx_linux-64 12.3.0 h8a814eb_2
    - kernel-headers_linux-64 2.6.32 he073ed8_16
    - keyutils 1.6.1 h166bdaf_0
    - krb5 1.21.2 h659d440_0
    - ld_impl_linux-64 2.40 h41732ed_0
    - libcurl 8.4.0 hca28451_0
    - libedit 3.1.20191231 he28a2e2_2
    - libev 4.33 h516909a_1
    - libexpat 2.5.0 hcb278e6_1
    - libgcc-devel_linux-64 12.3.0 h8bca6fd_2
    - libgcc-ng 13.2.0 h807b86a_2
    - libgomp 13.2.0 h807b86a_2
    - libnghttp2 1.52.0 h61bc06f_0
    - libsanitizer 12.3.0 h0f45ef3_2
    - libssh2 1.11.0 h0841786_0
    - libstdcxx-devel_linux-64 12.3.0 h8bca6fd_2
    - libstdcxx-ng 13.2.0 h7e041cc_2
    - libuv 1.46.0 hd590300_0
    - libzlib 1.2.13 hd590300_5
    - make 4.3 hd18ef5c_1
    - ncurses 6.4 hcb278e6_0
    - openssl 3.1.3 hd590300_0
    - rhash 1.4.4 hd590300_0
    - sysroot_linux-64 2.12 he073ed8_16
    - xz 5.2.6 h166bdaf_0
    - zstd 1.5.5 hfc55251_0
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - ca-certificates 2023.7.22 hbcca054_0
    - libgcc-ng 13.2.0 h807b86a_2
    - libgomp 13.2.0 h807b86a_2
    - libstdcxx-ng 13.2.0 h7e041cc_2
    - openssl 3.1.3 hd590300_0
  run:
    - libgcc-ng >=12
    - libstdcxx-ng >=12
    - openssl >=3.1.3,<4.0a0
test:
  commands:
    - mysql_config --version
    - my_print_defaults --version
about:
  description: 'Connector/C is a client library that implements the C API for

    client/server communication. It is a standalone replacement for

    the MySQL client library shipped with MySQL Server distributions.

    '
  home: https://dev.mysql.com/downloads/connector/c/
  license: GPL-2.0-only
  license_file: COPYING
  summary: MySQL Connector/C, the C interface for communicating with MySQL servers.
extra:
  copy_test_source_files: true
  final: true
  recipe-maintainers:
    - chrisburr
    - druvus
    - mfansler
