# This file created by conda-build 24.1.2
# meta.yaml template originally from:
# /feedstock/recipe, last modified Tue Jan 28 16:19:11 2025
# ------------------------------------------------

package:
  name: mpc
  version: 1.3.1
source:
  sha256: ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8
  url: https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz
build:
  number: '0'
  run_exports:
    - mpc >=1.3.1,<2.0a0
  script_env: null
  string: h5eee18b_0
requirements:
  build:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - _sysroot_linux-64_curr_repodata_hack 3 haa98f57_10
    - binutils_impl_linux-64 2.40 h5293946_0
    - binutils_linux-64 2.40.0 hc2dff05_1
    - gcc_impl_linux-64 11.2.0 h1234567_1
    - gcc_linux-64 11.2.0 h5c386dc_1
    - kernel-headers_linux-64 3.10.0 h57e8cba_10
    - ld_impl_linux-64 2.40 h12ee557_0
    - libgcc-devel_linux-64 11.2.0 h1234567_1
    - libgcc-ng 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libstdcxx-ng 11.2.0 h1234567_1
    - libtool 2.4.7 h6a678d5_0
    - m4 1.4.18 h4e445db_0
    - make 4.2.1 h1bed415_1
    - sysroot_linux-64 2.17 h57e8cba_10
  host:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - gmp 6.3.0 h6a678d5_0
    - libgcc-ng 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libstdcxx-ng 11.2.0 h1234567_1
    - mpfr 4.2.1 h5eee18b_0
  run:
    - gmp >=6.3.0,<7.0a0
    - libgcc-ng >=11.2.0
    - mpfr >=4.2.1,<5.0a0
test:
  commands:
    - test -f ${PREFIX}/lib/libmpc.so.3 || (echo "Failed to find libmpc.so.3" && exit
      1)
    - test -f ${PREFIX}/lib/libmpc.so || (echo "Failed to find libmpc.so" && exit
      2)
    - test -f ${PREFIX}/lib/libmpc.a || (echo "Failed to find libmpc.a" && exit 3)
    - ${CC} -L$PREFIX/lib -I$PREFIX/include -lmpc -lmpfr -lgmp -Wl,-rpath,$PREFIX/lib
      $RECIPE_DIR/test.c -o test.o
    - ./test.o
  files:
    - test.c
  requires:
    - gcc_linux-64 11.2.0.*
    - libtool
    - m4
about:
  description: GNU MPC is a complex floating-point library with exact rounding. It
    is based on the GNU MPFR floating-point library (https://www.mpfr.org/), which
    is itself based on the GNU MP library (https://gmplib.org/).
  dev_url: https://gitlab.inria.fr/mpc/mpc
  doc_url: https://www.multiprecision.org/downloads/mpc-1.3.1.pdf
  home: https://www.multiprecision.org/
  license: LGPL-3.0-or-later
  license_family: LGPL
  license_file: /croot/mpc_1738081156168/work/COPYING.LESSER
  summary: A C library for the arithmetic of complex numbers with arbitrarily high
    precision.
extra:
  copy_test_source_files: true
  final: true
  flow_run_id: 17a46ee7-c0a4-433f-acc6-409d67b68640
  recipe-maintainers:
    - isuruf
    - jakirkham
    - saraedum
  remote_url: git@github.com:AnacondaRecipes/mpc-feedstock.git
  sha: 8e96d07268904ccc514ac655bcb0dfa7abc0ffee
