{% set version = "1.2.3" %}
{% set sha256 = "0335f20a6d46b3c57a7dd1c337594b156bc1e7558f44cb981f1100f396929baa" %}

package:
  name: illumina-interop
  version: '{{version}}'

build:
  number: 2
  skip: true  # [osx]

source:
  url: https://github.com/Illumina/interop/archive/v{{version}}.tar.gz
  sha256: ce3d277aae05ae5d4e9cfc11605092eec1a389391f44c763fca40f5ba82d6b41

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

test:
  commands:
    - interop_dumptext | grep Version > /dev/null
    - interop_imaging_table | grep Version > /dev/null
    - interop_summary | grep Version > /dev/null
    - interop_plot_by_cycle | grep Version > /dev/null
    - interop_plot_by_lane | grep Version > /dev/null
    - interop_plot_flowcell | grep Version > /dev/null
    - interop_plot_qscore_histogram | grep Version > /dev/null
    - interop_plot_qscore_heatmap | grep Version > /dev/null
    - interop_plot_sample_qc | grep Version > /dev/null
    - interop_index-summary | grep Version > /dev/null
    - interop_dumpbin | grep Version > /dev/null
    - interop_aggregate | grep Version > /dev/null

about:
  home: http://illumina.github.io/interop/index.html
  license: GPL-3.0-only
  summary: The Illumina InterOp libraries are a set of common routines used for reading
    and writing InterOp metric files. These metric files are binary files produced
    during a run providing detailed statistics about a run. In a few cases, the metric
    files are produced after a run during secondary analysis (index metrics) or for
    faster display of a subset of the original data (collapsed quality scores).
  dev_url: https://github.com/Illumina/interop
  license_family: GPL
