This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Silence some Win32 compiler warnings
[perl5.git] / cpan / IO-Compress / Makefile.PL
CommitLineData
25f0751f
PM
1#! perl -w
2
3use strict ;
422d6414 4require 5.006 ;
25f0751f 5
ef379d05 6$::VERSION = '2.062' ;
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
be0289ac 42 INSTALLDIRS => ($] >= 5.009 && $] < 5.011 ? 'perl' : 'site'),
08ad9465
CBW
43
44 EXE_FILES => ['bin/zipdetails'],
dc82791d
PM
45
46 (
1725f55b
PM
47 $] >= 5.009 && $] <= 5.011001 && ! $ENV{PERL_CORE}
48 ? (INSTALLPRIVLIB => '$(INSTALLARCHLIB)')
dc82791d
PM
49 : ()
50 ),
51
a6e26d78
CBW
52 META_MERGE => {
53 no_index => {
54 directory => [ 't', 'private' ],
55 },
56 },
57
4e7676c7 58 ((ExtUtils::MakeMaker->VERSION() gt '6.30') ?
319fab50
PM
59 ('LICENSE' => 'perl') : ()),
60
25f0751f
PM
61) ;
62
63# end of file Makefile.PL
64