{% set name = "perl-io-zlib" %}
{% set version = "1.15" %}
{% set sha256 = "7ad887792e37cc3ffd64681a3e7483c5f789b44a033f340bc771e45832ebff32" %}

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

source:
  url: https://cpan.metacpan.org/authors/id/T/TO/TOMHUGHES/IO-Zlib-{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 1
  noarch: generic
  run_exports:
    - {{ pin_subpackage("perl-io-zlib", max_pin="x") }}

requirements:
  build:
    - make
    - perl
  run:
    - perl

test:
  # Perl 'use' tests
  imports:
    - IO::Zlib

about:
  home: "https://metacpan.org/pod/IO::Zlib"
  # This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
  license: GPL-1.0-or-later OR Artistic-1.0-Perl
  summary: "IO:: style interface to Compress::Zlib"
