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
CommitLineData
95a2e48f
DM
1#! perl -w
2
3use strict ;
4require 5.006 ;
5
4737eb08 6$::VERSION = '2.096' ;
95a2e48f 7
5173674b 8use lib '.';
95a2e48f
DM
9use private::MakeUtil;
10use ExtUtils::MakeMaker 5.16 ;
11
12UpDowngrade(getPerlFiles('MANIFEST'))
13 unless $ENV{PERL_CORE};
14
4737eb08 15WriteMakefile(
95a2e48f
DM
16 NAME => 'IO::Compress',
17 VERSION_FROM => 'lib/IO/Compress/Base.pm',
4737eb08 18 'dist' => { COMPRESS => 'gzip',
95a2e48f
DM
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,
4737eb08 28 'Compress::Raw::Zlib' => $::VERSION,
95a2e48f 29 'Scalar::Util' => 0,
4737eb08
TR
30 'Encode' => 0,
31 $] >= 5.005 && $] < 5.006
32 ? ('File::BSDGlob' => 0)
95a2e48f
DM
33 : () }
34 )
35 ),
4737eb08 36
95a2e48f
DM
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
d3d73539 46 EXE_FILES => ['bin/zipdetails', 'bin/streamzip'],
4737eb08 47
95a2e48f
DM
48 (
49 $] >= 5.009 && $] <= 5.011001 && ! $ENV{PERL_CORE}
50 ? (INSTALLPRIVLIB => '$(INSTALLARCHLIB)')
51 : ()
52 ),
53
4737eb08 54 ( eval { ExtUtils::MakeMaker->VERSION(6.46) }
9f58603c 55 ? ( META_MERGE => {
4737eb08 56
9f58603c
CBW
57 "meta-spec" => { version => 2 },
58
59 no_index => {
60 directory => [ 't', 'private' ],
61 },
62
63 resources => {
4737eb08 64
9f58603c
CBW
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',
4737eb08 75 },
9f58603c 76 },
4737eb08
TR
77 }
78 )
9f58603c
CBW
79 : ()
80 ),
95a2e48f
DM
81
82 ((ExtUtils::MakeMaker->VERSION() gt '6.30') ?
4737eb08 83 ('LICENSE' => 'perl') : ()),
95a2e48f
DM
84
85) ;
86
87# end of file Makefile.PL