{% set version = "3.6" %}

package:
  name: ri
  version: {{ version }}

source:
  url: https://github.com/InfOmics/RI/archive/{{ version }}.zip
  sha256: 5168d47f3882a526be9276b57684b8c2d234ede80e42865f0039e6a5a432c254
  patches:
    - makefile.patch
    - timer.h.patch  # [win]
    
build:
  number: 0

requirements:
  build:
    - make  # [not win]
    - {{ compiler('cxx') }}
    - m2w64-toolchain  # [win]
    - posix  # [win]

test:
  commands:
    - which ri36

about:
  home: https://github.com/InfOmics/RI
  summary: 'RI is a general purpose algorithm for one-to-one exact subgraph isomorphism problem maintaining topological constraints.'
  license: MIT
  license_family: MIT
  license_file: LICENSE

extra:
  recipe-maintainers:
    - RJMW

{% set version = "3.6" %}

package:
  name: ri
  version: {{ version }}

source:
  url: https://github.com/InfOmics/RI/archive/{{ version }}.zip
  sha256: 5168d47f3882a526be9276b57684b8c2d234ede80e42865f0039e6a5a432c254
  patches:
    - makefile.patch
    - makefile.win.patch  # [win]
    - timer.h.patch  # [win]
    
build:
  number: 0

requirements:
  build:
    - make  # [not win]
    - {{ compiler('cxx') }}
    - m2w64-toolchain  # [win]
    - posix  # [win]

test:
  commands:
    - which ri36

about:
  home: https://github.com/InfOmics/RI
  summary: 'RI is a general purpose algorithm for one-to-one exact subgraph isomorphism problem maintaining topological constraints.'
  license: MIT
  license_family: MIT
  license_file: LICENSE

extra:
  recipe-maintainers:
    - RJMW

Add Windows specific patch for makefile
Add Windows specific patch for makefile