This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move B::Debug from ext/ to cpan/
[perl5.git] / ext / IO-Compress / Makefile.PL
CommitLineData
25f0751f
PM
1#! perl -w
2
3use strict ;
4require 5.004 ;
5
10c2b2bb 6$::VERSION = '2.021' ;
319fab50 7
25f0751f
PM
8use private::MakeUtil;
9use ExtUtils::MakeMaker 5.16 ;
10
319fab50 11UpDowngrade(getPerlFiles('MANIFEST'))
25f0751f
PM
12 unless $ENV{PERL_CORE};
13
14WriteMakefile(
319fab50 15 NAME => 'IO::Compress',
25f0751f
PM
16 VERSION_FROM => 'lib/IO/Compress/Base.pm',
17 'dist' => { COMPRESS => 'gzip',
18 TARFLAGS => '-chvf',
19 SUFFIX => 'gz',
20 DIST_DEFAULT => 'MyTrebleCheck tardist',
21 },
22
23 (
24 $ENV{SKIP_FOR_CORE}
dc82791d 25 ? ()
319fab50
PM
26 : (PREREQ_PM => { 'Compress::Raw::Bzip2' => $::VERSION,
27 'Compress::Raw::Zlib' => $::VERSION,
10c2b2bb 28 'Scalar::Util' => 0,
25f0751f
PM
29 $] >= 5.005 && $] < 5.006
30 ? ('File::BSDGlob' => 0)
31 : () }
32 )
33 ),
34
35 (
36 $] >= 5.005
319fab50
PM
37 ? (ABSTRACT => 'IO Interface to compressed data files/buffers',
38 AUTHOR => 'Paul Marquess <pmqs@cpan.org>')
be714331
PM
39 : ()
40 ),
41
dc82791d
PM
42 INSTALLDIRS => ($] >= 5.009 ? 'perl' : 'site'),
43
44 (
45 $] >= 5.009 && ! $ENV{PERL_CORE}
46 ? (INST_LIB => 'blib/arch')
47 : ()
48 ),
49
4e7676c7 50 ((ExtUtils::MakeMaker->VERSION() gt '6.30') ?
319fab50
PM
51 ('LICENSE' => 'perl') : ()),
52
25f0751f
PM
53) ;
54
55# end of file Makefile.PL
56