require should ignore directories found when searching @INC not just
[p5sagit/p5-mst-13.2.git] / ext / Compress / IO / Zlib / Makefile.PL
1 #! perl -w
2
3 use strict ;
4 require 5.004 ;
5
6 use private::MakeUtil;
7 use ExtUtils::MakeMaker 5.16 ;
8
9 UpDowngrade(getPerlFiles('MANIFEST')) 
10     unless $ENV{PERL_CORE};
11
12 WriteMakefile( 
13     NAME         => 'IO::Compress::Zlib',
14     VERSION_FROM => 'lib/IO/Compress/Gzip.pm',
15     'dist'       => { COMPRESS     => 'gzip', 
16                       TARFLAGS     => '-chvf',
17                       SUFFIX       => 'gz',
18                       DIST_DEFAULT => 'MyTrebleCheck tardist',
19                     },
20
21     (
22       $ENV{SKIP_FOR_CORE}
23         ? (MAN3PODS    => {})
24             : (PREREQ_PM   => { 'Compress::Raw::Zlib'  => 0,
25                                     'IO::Compress::Base'   => 0,
26                                     $] >= 5.005 && $] < 5.006   
27                                 ? ('File::BSDGlob' => 0) 
28                                 : () }
29               )
30     ),
31        
32     (
33     $] >= 5.005
34         ? (ABSTRACT => 'Perl interface to zlib',
35             AUTHOR  => 'Paul Marquess <pmqs@cpan.org>')
36         : ()
37     ),
38
39 ) ;
40
41 # end of file Makefile.PL
42