Move Pod::Plainer from lib to ext
[p5sagit/p5-mst-13.2.git] / ext / IO-Compress / Makefile.PL
1 #! perl -w
2
3 use strict ;
4 require 5.004 ;
5
6 $::VERSION = '2.020' ;
7
8 use private::MakeUtil;
9 use ExtUtils::MakeMaker 5.16 ;
10
11 UpDowngrade(getPerlFiles('MANIFEST'))
12     unless $ENV{PERL_CORE};
13
14 WriteMakefile( 
15     NAME         => 'IO::Compress',
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}
25         ? ()
26             : (PREREQ_PM   => { 'Compress::Raw::Bzip2' => $::VERSION,
27                                     'Compress::Raw::Zlib'   => $::VERSION,
28                                     $] >= 5.005 && $] < 5.006   
29                                 ? ('File::BSDGlob' => 0) 
30                                 : () }
31               )
32     ),
33        
34     (
35     $] >= 5.005
36         ? (ABSTRACT => 'IO Interface to compressed data files/buffers',
37             AUTHOR  => 'Paul Marquess <pmqs@cpan.org>')
38         : ()
39     ),
40
41     INSTALLDIRS => ($] >= 5.009 ? 'perl' : 'site'),
42     
43     (
44     $] >= 5.009 && ! $ENV{PERL_CORE}
45         ? (INST_LIB    => 'blib/arch')
46         : ()
47     ),
48
49     ((ExtUtils::MakeMaker->VERSION() gt '6.30') ?
50         ('LICENSE'  => 'perl')         : ()),    
51
52 ) ;
53
54 # end of file Makefile.PL
55