{% set version = "3_0_11579" %}
{% set buildid = "512555" %}
{% set root = "pwiz_tools/Bumbershoot/" %}
{% set targets = root~"myrimatch//install "~root~"directag//install "~root~"tagrecon//install "~root~"idpicker//install "~root~"pepitome//install "~root~"quameter//install" %}

package:
  name: bumbershoot
  version: {{ version }}

source:
  url: http://teamcity.labkey.org/guestAuth/repository/download/ProteoWizard_BumbershootUpdateBioconda/{{ buildid }}:id/bumbershoot-src-without-t-{{ version }}.tar.bz2
  sha256: b48d4074ce1492b2eff2baa5001dd28ebd2c44af77e15f3a58aaa0b9075082ef

build:
  script: bash -c "./quickbuild.sh -j{{ CPU_COUNT }} address-model=64 runtime-link=shared {{ targets }} && cp build-linux-x86_64/gcc-release-x86_64/* $PREFIX/bin"
  skip: True # [osx]

requirements:
  build:
    - gcc   # [linux]
  run:
    - libgcc # [linux]


about:
  home: https://proteowizard.sourceforge.net
  license: Apache 2.0
  summary: The Bumbershoot tool suite for analyzing shotgun proteomic data

test:
  commands:
    - myrimatch --help
    - directag --help
    - quameter --help
    - pepitome --help

