# This file created by conda-build 3.23.3
# ------------------------------------------------

package:
  name: libpq
  version: '15.1'
source:
  patches:
    - patches/0001-fix-win-zlib-name.patch
    - patches/0002-disable-new-dtags.patch
    - patches/0004-fix-windows-openssl-links-for-openssl-1.1.1.patch
  sha256: 64fdf23d734afad0dfe4077daca96ac51dcd697e68ae2d3d4ca6c45cb14e21ae
  url: https://ftp.postgresql.org/pub/source/v15.1/postgresql-15.1.tar.bz2
build:
  number: 3
  run_exports:
    - libpq >=15.1,<16.0a0
  string: h2baec63_3
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - binutils_impl_linux-64 2.39 he00db2b_1
    - binutils_linux-64 2.39 h5fc0e48_11
    - gcc_impl_linux-64 11.3.0 hab1b70f_19
    - gcc_linux-64 11.3.0 he6f903b_11
    - kernel-headers_linux-64 2.6.32 he073ed8_15
    - ld_impl_linux-64 2.39 hcc3a1bd_1
    - libgcc-devel_linux-64 11.3.0 h210ce93_19
    - libgcc-ng 12.2.0 h65d4601_19
    - libgomp 12.2.0 h65d4601_19
    - libsanitizer 11.3.0 h239ccf8_19
    - libstdcxx-ng 12.2.0 h46fd767_19
    - make 4.3 hd18ef5c_1
    - sysroot_linux-64 2.12 he073ed8_15
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - ca-certificates 2022.12.7 ha878542_0
    - keyutils 1.6.1 h166bdaf_0
    - krb5 1.20.1 hf9c8cef_0
    - libedit 3.1.20191231 he28a2e2_2
    - libgcc-ng 12.2.0 h65d4601_19
    - libgomp 12.2.0 h65d4601_19
    - libstdcxx-ng 12.2.0 h46fd767_19
    - libzlib 1.2.13 h166bdaf_4
    - ncurses 6.3 h27087fc_1
    - openssl 1.1.1s h0b41bf4_1
    - tzcode 2022g h166bdaf_0
    - tzdata 2022g h191b570_0
    - zlib 1.2.13 h166bdaf_4
  run:
    - krb5 >=1.20.1,<1.21.0a0
    - libgcc-ng >=12
    - libzlib >=1.2.13,<1.3.0a0
    - openssl >=1.1.1s,<1.1.2a
test:
  commands:
    - pg_config
    - test -f $PREFIX/lib/libpq.so.5.15
    - test -f $PREFIX/lib/libpq.so.5
    - test -f $PREFIX/lib/libpq.so
about:
  license: PostgreSQL
  license_file: COPYRIGHT
  summary: The postgres runtime libraries and utilities (not the server itself)
extra:
  copy_test_source_files: true
  final: true
  recipe-maintainers:
    - akrherz
    - gillins
    - mariusvniekerk
    - msarahan
    - ocefpaf
    - sodre
