HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/pkgs/libaec-1.0.4-h33f27b4_1/info/recipe/meta.yaml.template
{% set name = "libaec" %}
{% set version = "1.0.4" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://gitlab.dkrz.de/k202009/{{ name }}/-/archive/v{{ version }}/{{ name }}-v{{ version }}.tar.gz
  sha256: 7d85784afc0c4d82adae2d3a1ad2c0a9db700a49ad8f32674618b0089206cb5e

build:
  number: 1
  skip: true  # [win and vc<14]
  run_exports:
  - {{ pin_subpackage('libaec') }}

requirements:
  build:
    - cmake
    - make     # [not win]
    - ninja    # [win]
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}

test:
  commands:
    - test -f ${PREFIX}/lib/libaec${SHLIB_EXT}        # [not win]
    - test -f ${PREFIX}/lib/libsz${SHLIB_EXT}         # [not win]
    - if not exist %LIBRARY_LIB%\\aec.lib exit 1      # [win]
    - if not exist %LIBRARY_BIN%\\aec.dll exit 1      # [win]
    - if not exist %LIBRARY_LIB%\\szip.lib exit 1     # [win]
    - if not exist %LIBRARY_BIN%\\szip.dll exit 1     # [win]
    - if not exist %LIBRARY_INC%\\libaec.h exit 1     # [win]

about:
  home: https://gitlab.dkrz.de/k202009/libaec
  license: BSD-2-Clause
  license_family: BSD
  license_file: Copyright.txt
  summary: 'Adaptive Entropy Coding library'
  description: |
    Libaec provides fast lossless compression of 1 up to 32 bit wide signed or unsigned integers (samples).
    The library achieves best results for low entropy data as often encountered in space imaging instrument
    data or numerical model output from weather or climate simulations. While floating point representations
    are not directly supported, they can also be efficiently coded by grouping exponents and mantissa.
    Libaec implements Golomb-Rice coding as defined in the Space Data System Standard documents 121.0-B-2
    and 120.0-G-2.
  dev_url: https://gitlab.dkrz.de/k202009/libaec

extra:
  recipe-maintainers:
    - kmuehlbauer
    - hmaarrfk