{% set ITK_VERSION = "4.6.1" %}
{% set ITK_VERSION_SHORT = "4.6" %}

package:
  name: itk
  version: {{ ITK_VERSION }}

source:
  fn: InsightToolkit-{{ ITK_VERSION }}.tar.gz
  url: http://downloads.sourceforge.net/project/itk/itk/{{ ITK_VERSION_SHORT }}/InsightToolkit-{{ ITK_VERSION }}.tar.gz
  md5: 2c84eae50ab2452cdad32aaadced3c37

build:
    number: 0

requirements:
  build:
    - gcc   # [not osx]
    - llvm  # [osx]
    - cmake
    - libtiff
    - libpng
    - jpeg
    - zlib
  run:
    - python
    - libgcc    # [not osx]
    - zlib
    - libtiff
    - libpng
    - jpeg

test:
  commands:
    - test -f $PREFIX/lib/libITKCommon-{{ ITK_VERSION_SHORT }}.so # [linux]

about:
  home: http://www.itk.org/
  license: Apache 2.0
  summary: ITK is an open-source, cross-platform system that provides developers with an extensive suite of software tools for image analysis.
