{% set name = "lapack95" %}
{% set version = "3.0.0" %}

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

source:
  url: http://www.netlib.org/lapack95/lapack95.tgz
  sha256: 55711e5b1c5ddc9c7dd1d3ea15c37fc5b400783ac6ea573a75e2b1358c2c479b

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

requirements:
  build:
    - {{ compiler('fortran') }}
  host:
    - libblas
    - liblapack

test:
  commands:
    - test -f $PREFIX/lib/liblapack95.a
    - test -f $PREFIX/include/f95_lapack.mod
    - test -f $PREFIX/include/lapack95.mod

about:
  home: http://www.netlib.org/lapack95
  license: BSD-3-Clause 
  license_family: BSD
  license_file: LICENSE
  summary: LAPACK95 is a Fortran95 interface to LAPACK. 

extra:
  recipe-maintainers:
    - hhslepicka 

{% set name = "lapack95" %}
{% set version = "3.0.0" %}

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

source:
  url: http://www.netlib.org/lapack95/lapack95.tgz
  sha256: 55711e5b1c5ddc9c7dd1d3ea15c37fc5b400783ac6ea573a75e2b1358c2c479b

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

requirements:
  build:
    - {{ compiler('fortran') }}
  host:
    - libblas
    - liblapack

test:
  commands:
    - test -f $PREFIX/lib/liblapack95$SHLIB_EXT
    - test -f $PREFIX/include/f95_lapack.mod
    - test -f $PREFIX/include/lapack95.mod

about:
  home: http://www.netlib.org/lapack95
  license: BSD-3-Clause 
  license_family: BSD
  license_file: LICENSE
  summary: LAPACK95 is a Fortran95 interface to LAPACK. 

extra:
  recipe-maintainers:
    - hhslepicka 

Use SHLIB_EXT at test by @jakirkham
Use SHLIB_EXT at test by @jakirkham

Co-authored-by: jakirkham <00b8e1f2832340b5fd94507dd2fa7880c7721435@gmail.com>