# This file created by conda-build 25.1.2
# meta.yaml template originally from:
# /home/task_176008923543454/nspr-feedstock/recipe, last modified Fri Oct 10 09:40:37 2025
# ------------------------------------------------

package:
  name: nspr
  version: '4.37'
source:
  sha256: 5f9344ed0e31855bd38f88b33c9d9ab94f70ce547ef3213e488d1520f61840fa
  url: https://ftp.mozilla.org/pub/nspr/releases/v4.37/src/nspr-4.37.tar.gz
build:
  number: '0'
  run_exports:
    - nspr >=4.37,<5.0a0
  string: h8459abe_0
requirements:
  build:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - autoconf 2.71 pl5340h5eee18b_0
    - binutils_impl_linux-64 2.40 h5293946_0
    - binutils_linux-64 2.40.0 hc2dff05_2
    - gcc_impl_linux-64 11.2.0 h1234567_1
    - gcc_linux-64 11.2.0 h5c386dc_2
    - gnuconfig 2021.05.24 hd3eb1b0_0
    - gxx_impl_linux-64 11.2.0 h1234567_1
    - gxx_linux-64 11.2.0 hc2dff05_2
    - kernel-headers_linux-64 4.18.0 h528b178_0
    - 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-devel_linux-64 11.2.0 h1234567_1
    - libstdcxx-ng 11.2.0 h1234567_1
    - m4 1.4.18 h4e445db_0
    - make 4.2.1 h1bed415_1
    - perl 5.40.2 0_h5eee18b_perl5
    - sed 4.9 hb25bd0a_0
    - sysroot_linux-64 2.28 h528b178_0
    - tzdata 2025b h04d1e81_0
  host:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - libgcc-ng 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libstdcxx-ng 11.2.0 h1234567_1
  run:
    - __glibc >=2.28,<3.0.a0
    - libgcc-ng >=11.2.0
    - libstdcxx-ng >=11.2.0
test:
  commands:
    - test -f ${PREFIX}/lib/libnspr4${SHLIB_EXT}
    - test -f ${PREFIX}/lib/libplc4${SHLIB_EXT}
    - test -f ${PREFIX}/lib/libplds4${SHLIB_EXT}
    - test -d ${PREFIX}/include/nspr
    - test -f ${PREFIX}/bin/nspr-config
    - nspr-config --version
    - nspr-config --cflags
    - nspr-config --libs
    - ./tests/execute_tests.sh
  files:
    - tests/execute_tests.sh
  source_files:
    - nspr/lib/tests
about:
  description: 'NetScape Portable Runtime (NSPR) provides platform independence for

    non-GUI operating system facilities. These facilities include threads,

    thread synchronization, normal file and network I/O, interval timing and

    calendar time, basic memory management (malloc and free) and shared

    library linking.

    '
  dev_url: https://hg.mozilla.org/projects/nspr
  doc_url: https://firefox-source-docs.mozilla.org/nspr/index.html
  home: https://firefox-source-docs.mozilla.org/nspr/index.html
  license: MPL-2.0
  license_family: OTHER
  license_file: nspr/LICENSE
  summary: A platform-neutral API for system level and libc-like functions.
extra:
  copy_test_source_files: true
  final: true
  recipe-maintainers:
    - jakirkham
    - marcelotrevisani
