{% set name = "harminv" %}
{% set version = "1.4.1" %}
{% set sha256 = "e1b923c508a565f230aac04e3feea23b888b47d8e19b08816a97ee4444233670" %}

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

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://github.com/stevengj/{{ name }}/releases/download/v{{ version }}/{{ name }}-{{ version }}.tar.gz
  sha256: {{ sha256 }}

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

requirements:
  build:
    - toolchain
    - gfortran_linux-64  # [linux]
    - gfortran_osx-64  # [osx]
    - openblas
  run:
    - libopenblas
    - libgfortran

test:
  source_files:
    - sines

about:
  home: http:/github.com/stevengj/harminv
  license: GPL-2.0
  license_file: COPYING
  summary: Harmonic inversion algorithm of Mandelshtam - decompose signal into sum of decaying sinusoids
  doc_url: http://harminv.readthedocs.io
  dev_url: https://github.com/stevengj/harminv

extra:
  recipe-maintainers:
    - ChristopherHogan

{% set name = "harminv" %}
{% set version = "1.4.1" %}
{% set sha256 = "e1b923c508a565f230aac04e3feea23b888b47d8e19b08816a97ee4444233670" %}

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

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://github.com/stevengj/{{ name }}/releases/download/v{{ version }}/{{ name }}-{{ version }}.tar.gz
  sha256: {{ sha256 }}

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

requirements:
  build:
    - autoconf
    - automake
    - libtool
    - gfortran_linux-64  # [linux]
    - gfortran_osx-64  # [osx]
    - openblas
  run:
    - libopenblas
    - libgfortran

test:
  source_files:
    - sines

about:
  home: http:/github.com/stevengj/harminv
  license: GPL-2.0
  license_file: COPYING
  summary: Harmonic inversion algorithm of Mandelshtam - decompose signal into sum of decaying sinusoids
  doc_url: http://harminv.readthedocs.io
  dev_url: https://github.com/stevengj/harminv

extra:
  recipe-maintainers:
    - ChristopherHogan

Use Anaconda compiler packages instead of toolchain
Use Anaconda compiler packages instead of toolchain
