{% set name = "libharu" %}
{% set version = "2.3.0" %}

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

source:
  url: https://github.com/libharu/libharu/archive/master.zip
  sha256: 3cc03c5fc0953621e88637a8a004d1ed4c61d050502a0429caab263919b10834

build:
  number: 0

requirements:
  build:
    - {{ compiler('c') }}
    - cmake
  run:
    - zlib
    - libpng
    - boost

test:
  commands:
    - test -f $PREFIX/include/hpdf.h  # [unix]
    - if not exist %LIBRARY_INC%\\include\\hpdf.h exit 1  # [win]

about:
  home: http://libharu.org/
  license: Zlib
  license_family: OTHER
  license_file: LICENSE.txt
  summary: 'Simple, fast, extensible JSON encoder/decoder for Python'

  description: |
    libharu is a free, cross platform, open source library for generating PDF files.
  doc_url: https://github.com/libharu/libharu/wiki
  dev_url: https://github.com/libharu/libharu


extra:
  recipe-maintainers:
    - hobu

{% set name = "libharu" %}
{% set version = "2.3.0" %}

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

source:
  url: https://github.com/libharu/libharu/archive/RELEASE_{{ version.replace('.', '_') }}.tar.gz
  sha256: 8f9e68cc5d5f7d53d1bc61a1ed876add1faf4f91070dbc360d8b259f46d9a4d2

build:
  number: 0

requirements:
  build:
    - {{ compiler('c') }}
    - cmake
  run:
    - zlib
    - libpng
    - boost

test:
  commands:
    - test -f $PREFIX/include/hpdf.h  # [unix]
    - if not exist %LIBRARY_INC%\\include\\hpdf.h exit 1  # [win]

about:
  home: http://libharu.org/
  license: Zlib
  license_family: OTHER
  license_file: LICENSE.txt
  summary: Simple, fast, extensible JSON encoder/decoder for Python

  description: |
    libharu is a free, cross platform, open source library for generating PDF files.
  doc_url: https://github.com/libharu/libharu/wiki
  dev_url: https://github.com/libharu/libharu


extra:
  recipe-maintainers:
    - hobu
    - xylar

Update location for tar file
Update location for tar file

A bit of linting

Add xylar as a maintainer
