{% set name = "exempi" %}
{% set version = "2.4.2" %}
{% set sha256 = "5b0db25fa5ab11344adbc26e1d4a3ace2ad1166a7bea4f4d3fd1837e982bc6ec" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  fn: {{ name }}-{{ version }}.tar.bz2
  url: https://libopenraw.freedesktop.org/download/{{ name }}-{{ version }}.tar.bz2
  sha256: {{ sha256 }}

build:
  skip: true  # [win]
  number: 0

requirements:
  build:
    - gcc  # [linux]
    - boost
    - expat
    - zlib
  run:
    - expat

test:
  commands:
    - test -f $PREFIX/lib/libexempi.dylib  # [osx]
    - test -f $PREFIX/lib/libexempi.so  # [linux]
    - test -f $PREFIX/bin/exempi

about:
  home: http://libopenraw.freedesktop.org/wiki/Exempi
  license: BSD
  license_family: BSD
  license_file: '{{ environ["RECIPE_DIR"] }}/LICENSE.txt'
  summary: 'exempi is a port of Adobe XMP SDK to work on UNIX'
  dev_url: https://github.com/hfiguiere/exempi

extra:
  recipe-maintainers:
    - quintusdias

{% set name = "exempi" %}
{% set version = "2.4.2" %}
{% set sha256 = "5b0db25fa5ab11344adbc26e1d4a3ace2ad1166a7bea4f4d3fd1837e982bc6ec" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  fn: {{ name }}-{{ version }}.tar.bz2
  url: https://libopenraw.freedesktop.org/download/{{ name }}-{{ version }}.tar.bz2
  sha256: {{ sha256 }}

build:
  skip: true  # [win]
  number: 0

requirements:
  build:
    - boost >=1.64
    - expat 
    - zlib 1.2.*
  run:
    - expat

test:
  commands:
    - test -f $PREFIX/lib/libexempi.dylib  # [osx]
    - test -f $PREFIX/lib/libexempi.so  # [linux]
    - test -f $PREFIX/bin/exempi

about:
  home: http://libopenraw.freedesktop.org/wiki/Exempi
  license: 3-BSD
  license_family: BSD
  license_file: '{{ environ["RECIPE_DIR"] }}/LICENSE.txt'
  summary: 'exempi is a port of Adobe XMP SDK to work on UNIX'
  dev_url: https://github.com/hfiguiere/exempi

extra:
  recipe-maintainers:
    - quintusdias

Change to address CF gatekeeper's comments
Change to address CF gatekeeper's comments

Remove gcc from list of build dependencies.
Pin boost and zlib.
Specify exempi as 3-BSD after conferring with Hubert Figuiere.
