{% set name = "perl-archive-tar" %}
{% set version = "3.14" %}

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

source:
  url: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Archive-Tar-3.14.tar.gz
  sha256: 177ce0506124afbe3ef95836761fb0799c941b87b79bac489bddc6cda860d904

build:
  number: 0
  noarch: generic
  run_exports:
    - {{ pin_subpackage('perl-archive-tar', max_pin="x") }}

requirements:
  build:
    - make
  host:
    - perl
    - perl-pathtools
    - perl-io-compress
    - perl-io-zlib
    - perl-test-harness
    - perl-test-simple
    - perl-module-build
  run:
    - perl
    - perl-pathtools
    - perl-io-compress
    - perl-io-zlib

test:
  # Perl 'use' tests
  imports:
    - Archive::Tar
    - Archive::Tar::Constant
    - Archive::Tar::File

about:
  home: "https://metacpan.org/pod/Archive::Tar"
  license: "Perl_5"
  summary: "Manipulates TAR archives."
  doc_url: "https://metacpan.org/pod/Archive::Tar"
