This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update Pod-Simple to CPAN version 3.42
[perl5.git] / cpan / IO-Compress / Makefile.PL
1 #! perl -w
2
3 use strict ;
4 require 5.006 ;
5
6 $::VERSION = '2.096' ;
7
8 use lib '.';
9 use private::MakeUtil;
10 use ExtUtils::MakeMaker 5.16 ;
11
12 UpDowngrade(getPerlFiles('MANIFEST'))
13     unless $ENV{PERL_CORE};
14
15 WriteMakefile(
16     NAME         => 'IO::Compress',
17     VERSION_FROM => 'lib/IO/Compress/Base.pm',
18     'dist'       => { COMPRESS     => 'gzip',
19                       TARFLAGS     => '-chvf',
20                       SUFFIX       => 'gz',
21                       DIST_DEFAULT => 'MyTrebleCheck tardist',
22                     },
23
24     (
25       $ENV{SKIP_FOR_CORE}
26         ? ()
27             : (PREREQ_PM   => { 'Compress::Raw::Bzip2' => $::VERSION,
28                                     'Compress::Raw::Zlib'  => $::VERSION,
29                                     'Scalar::Util'  => 0,
30                             'Encode'        => 0,
31                                     $] >= 5.005 && $] < 5.006
32                                 ? ('File::BSDGlob' => 0)
33                                 : () }
34               )
35     ),
36
37     (
38     $] >= 5.005
39         ? (ABSTRACT => 'IO Interface to compressed data files/buffers',
40             AUTHOR  => 'Paul Marquess <pmqs@cpan.org>')
41         : ()
42     ),
43
44     INSTALLDIRS => ($] >= 5.009 && $] < 5.011 ? 'perl' : 'site'),
45
46     EXE_FILES => ['bin/zipdetails', 'bin/streamzip'],
47
48     (
49     $] >= 5.009 && $] <= 5.011001 && ! $ENV{PERL_CORE}
50         ? (INSTALLPRIVLIB    => '$(INSTALLARCHLIB)')
51         : ()
52     ),
53
54      ( eval { ExtUtils::MakeMaker->VERSION(6.46) }
55         ? ( META_MERGE  => {
56
57                 "meta-spec" => { version => 2 },
58
59                 no_index => {
60                     directory => [ 't', 'private' ],
61                 },
62
63                 resources   => {
64
65                     bugtracker  => {
66                         web     => 'https://github.com/pmqs/IO-Compress/issues'
67                     },
68
69                     homepage    => 'https://github.com/pmqs/IO-Compress',
70
71                     repository  => {
72                         type    => 'git',
73                         url     => 'git://github.com/pmqs/IO-Compress.git',
74                         web     => 'https://github.com/pmqs/IO-Compress',
75                     },
76                 },
77               }
78             )
79         : ()
80     ),
81
82     ((ExtUtils::MakeMaker->VERSION() gt '6.30') ?
83         ('LICENSE'  => 'perl')         : ()),
84
85 ) ;
86
87 # end of file Makefile.PL