package:
  name: canu
  version: 1.4

source:
  # Canu currently needs to come from git to get its version string right
  url: https://github.com/marbl/canu/archive/v1.4.tar.gz
  fn: v1.4.tar.gz
  md5: f0115f042c79cb5c1a247743236cd83b

build:
    number: 1
    detect_binary_files_with_prefix: True

requirements:
    build:
        - gcc  # [not osx]
        - llvm  # [osx]
        - perl-threaded
    run:
        - libgcc # [not osx]
        - perl-threaded
        - perl-filesys-df
        - java-jdk
        - gnuplot

test:
  commands:
    - canu --version 2>&1 > /dev/null

about:
  home: http://http://canu.readthedocs.org/
  license: GPLv2 and others
  summary: Canu is a fork of the Celera Assembler designed for high-noise single-molecule sequencing.

