package:
  name: r-dpeak
  # Note that conda versions cannot contain -, so any -'s in the version have
  # been replaced with _'s.
  version: "2.0.1"

source:
  git_url: https://github.com/dongjunchung/dpeak.git
  git_rev: b4627c94ef87b3dbd0821230821df4ab7e85be8f

build:
  number: 0

  # This is required to make R link correctly on Linux.
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - r >=2.11.1
    - r-mass
    - bioconductor-iranges
    - bioconductor-bsgenome
    - r-rcpp
    - gcc

  run:
    - r >=2.11.1
    - r-mass
    - bioconductor-iranges
    - bioconductor-bsgenome
    - r-rcpp
    - libgcc
    - perl

test:
  commands:
    # You can put additional test commands to be run here.
    - $R -e "library('dpeak')" 

about:
  home: http://dongjunchung.github.io/dpeak/
  license: GPL (>= 2)
  summary: This package provides functions for fitting dPeak, a statistical framework to deconvolve ChIP-seq peaks.

package:
  name: r-dpeak
  # Note that conda versions cannot contain -, so any -'s in the version have
  # been replaced with _'s.
  version: "2.0.1"

source:
  git_url: https://github.com/dongjunchung/dpeak.git
  git_rev: b4627c94ef87b3dbd0821230821df4ab7e85be8f

build:
  number: 1

  # This is required to make R link correctly on Linux.
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - r >=2.11.1
    - r-mass
    - bioconductor-iranges
    - bioconductor-bsgenome
    - r-rcpp
    - gcc

  run:
    - r >=2.11.1
    - r-mass
    - bioconductor-iranges
    - bioconductor-bsgenome
    - r-rcpp
    - libgcc
    - perl-threaded

test:
  commands:
    # You can put additional test commands to be run here.
    - $R -e "library('dpeak')" 

about:
  home: http://dongjunchung.github.io/dpeak/
  license: GPL (>= 2)
  summary: This package provides functions for fitting dPeak, a statistical framework to deconvolve ChIP-seq peaks.

Use correct `perl-threaded` for dependency
Use correct `perl-threaded` for dependency
