{% set name = "cgns" %}
{% set version = "3.2.1" %}

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

source:
  url: https://github.com/{{ name|upper }}/{{ name|upper }}/archive/v{{ version }}.tar.gz
  sha256: 677d0da94f0892b72b96da7cf4de51f661acfff1141c585af50a531fa161773f
  patches:
    = if-block.patch

build:
  number: 0
  skip: True  # [win]

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('fortran') }}
    - cmake
    - make
  host:
    - zlib
    - hdf5 =1.8

test:
  commands:
    - cgnscheck

about:
  home: http://cgns.org
  license: Zlib
  license_file: LICENSE
  summary: 'CFD General Notation System (CGNS)'
  description: |
    The CFD General Notation System (CGNS) provides a standard for
    recording and recovering computer data associated with the
    numerical solution of fluid dynamics equations.
  doc_url: http://cgns.github.io/CGNS_docs_current/index.html
  dev_url: https://github.com/CGNS/CGNS


extra:
  recipe-maintainers:
    - mdpiper

{% set name = "cgns" %}
{% set version = "3.2.1" %}

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

source:
  url: https://github.com/{{ name|upper }}/{{ name|upper }}/archive/v{{ version }}.tar.gz
  sha256: 677d0da94f0892b72b96da7cf4de51f661acfff1141c585af50a531fa161773f
  patches:
    = if-block.patch

build:
  number: 0
  skip: True  # [win]

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('fortran') }}
    - cmake
    - make
    - zlib
    - hdf5 =1.8

test:
  commands:
    - cgnscheck

about:
  home: http://cgns.org
  license: Zlib
  license_file: LICENSE
  summary: 'CFD General Notation System (CGNS)'
  description: |
    The CFD General Notation System (CGNS) provides a standard for
    recording and recovering computer data associated with the
    numerical solution of fluid dynamics equations.
  doc_url: http://cgns.github.io/CGNS_docs_current/index.html
  dev_url: https://github.com/CGNS/CGNS


extra:
  recipe-maintainers:
    - mdpiper

Add zlib and hdf5 to build requirements
Add zlib and hdf5 to build requirements
