{% set name = "wcstools" %}
{% set version = "3.9.7" %}

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

source:
  url: http://tdc-www.harvard.edu/software/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: 525f6970eb818f822db75c1526b3122b1af078affa572dce303de37df5c7b088

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

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('fortran') }}
    - make

test:
  requires:
    - compilers

about:
  home: http://tdc-www.harvard.edu/software/wcstools
  summary: World coordinate systems libraries and tools
  description: |
    For setting and using the world coordinate systems (WCS) in the
    headers of the most common astronomical image formats

  license: LGPL-2.0-only
  license_family: LGPL
  license_file: libwcs/COPYING
  doc_url: http://tdc-www.harvard.edu/software/wcstools/subroutines/libwcs.wcs.html

extra:
  recipe-maintainers:
    - jhunkeler

{% set name = "wcstools" %}
{% set version = "3.9.7" %}

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

source:
  url: http://tdc-www.harvard.edu/software/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: 525f6970eb818f822db75c1526b3122b1af078affa572dce303de37df5c7b088

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

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('fortran') }}
    - make

test:
  requires:
    - compilers
    - pkg-config

about:
  home: http://tdc-www.harvard.edu/software/wcstools
  summary: World coordinate systems libraries and tools
  description: |
    For setting and using the world coordinate systems (WCS) in the
    headers of the most common astronomical image formats

  license: LGPL-2.0-only
  license_family: LGPL
  license_file: libwcs/COPYING
  doc_url: http://tdc-www.harvard.edu/software/wcstools/subroutines/libwcs.wcs.html

extra:
  recipe-maintainers:
    - jhunkeler

Add pkg-config to test requirements
Add pkg-config to test requirements
