{% set name = "perl-alien-libxml2" %}
{% set version = "0.17" %}
{% set sha256 = "73b45244f0b5c36e5332c33569b82a1ab2c33e263f1d00785d2003bcaec68db3" %}

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

source:
  url: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Alien-Libxml2-0.17.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  run_exports:
    weak:
      - {{ name }} ={{ version }}

requirements:
  build:
    - {{ compiler('c') }}
    - make  # [not win]
    - m2-make  # [win]
  host:
    - perl
    - perl-alien-build
  run:
    - perl

test:
  imports:
    - Alien::Libxml2

about:
  home: https://metacpan.org/pod/Alien::Libxml2
  license: perl_5
  summary: 'Install the C libxml2 library on your system'
