{% set DCMTK_VERSION = "3.6.1" %}
{% set DCMTK_VERSION_DATE = "20161102" %}

package:
  name: dcmtk
  version: {{ DCMTK_VERSION }}

source:
  url: http://dicom.offis.de/download/dcmtk/snapshot/old/dcmtk-{{ DCMTK_VERSION }}_{{ DCMTK_VERSION_DATE }}.tar.gz
  sha1: 9daa6b64767443a60d5cb8946905e4e7003d1658

build:
  number: 6

requirements:
  build:
    - cmake
    - {{ compiler('cxx') }}
  host:
    - openssl
    - libpng
    - libtiff
    - libxml2
    - zlib
    - jpeg
  run:
    - openssl
    - libpng
    - libtiff
    - jpeg
    - libxml2
    - zlib

test:
  commands:
    - dcmdata_tests
    - dcmftest
    - dcmiod_tests
    - dcmnet_tests
    - dcmrt_tests
    - dcmseg_tests
    - dcmsr_tests
    - drttest
    #- ofstd_tests

about:
  home: http://dicom.offis.de
  summary: "DCMTK is a collection of libraries and applications implementing large parts the DICOM standard"
  license: BSD
