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

package:
  name: mpfr
  version: 4.2.1
source:
  fn: mpfr-4.2.1.tar.bz2
  sha256: 116715552bd966c85b417c424db1bbdf639f53836eb361549d1f8d6ded5cb4c6
  url: https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.1.tar.gz
build:
  missing_dso_whitelist: null
  number: '0'
  run_exports:
    - mpfr >=4.2.1,<5.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
  run:
    - gmp >=6.3.0,<7.0a0
    - libgcc-ng >=11.2.0
test:
  commands:
    - test -f ${PREFIX}/lib/libmpfr.so.6 || (echo "Failed to find libmpfr.so.6" &&
      exit 1)
    - test -f ${PREFIX}/lib/libmpfr.so || (echo "Failed to find libmpfr.so" && exit
      2)
    - test -f ${PREFIX}/lib/libmpfr.a || (echo "Failed to find libmpfr.a" && exit
      3)
    - ${CC} -L$PREFIX/lib -I$PREFIX/include -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: 'The MPFR library is a C library for multiple-precision floating-point
    computations with correct rounding. MPFR has

    continuously been supported by the INRIA and the current main authors come from
    the Caramba and AriC project-teams

    at Loria (Nancy, France) and LIP (Lyon, France) respectively; see more on the
    credit page. MPFR is based on the GMP

    multiple-precision library.

    '
  dev_url: https://gitlab.inria.fr/mpfr/mpfr
  doc_url: https://www.mpfr.org/
  home: https://www.mpfr.org/
  license: LGPL-3.0-only
  license_family: LGPL
  license_file: COPYING.LESSER
  summary: The MPFR library is a C library for multiple-precision floating-point computations
    with correct rounding.
extra:
  copy_test_source_files: true
  final: true
  flow_run_id: 5e7a2aed-756f-4df3-b926-cddbdb0059c8
  recipe-maintainers:
    - isuruf
    - jakirkham
    - marcelotrevisani
  remote_url: git@github.com:AnacondaRecipes/mpfr-feedstock.git
  sha: be9ceaa2a5b2e67b417cd8a7b3b6c4349438d554
