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
index ae85bbb..1249a3c 100644 (file)
@@ -3,18 +3,19 @@
 use strict ;
 require 5.006 ;
 
-$::VERSION = '2.048' ;
+$::VERSION = '2.096' ;
 
+use lib '.';
 use private::MakeUtil;
 use ExtUtils::MakeMaker 5.16 ;
 
 UpDowngrade(getPerlFiles('MANIFEST'))
     unless $ENV{PERL_CORE};
 
-WriteMakefile( 
+WriteMakefile(
     NAME         => 'IO::Compress',
     VERSION_FROM => 'lib/IO/Compress/Base.pm',
-    'dist'       => { COMPRESS     => 'gzip', 
+    'dist'       => { COMPRESS     => 'gzip',
                       TARFLAGS     => '-chvf',
                       SUFFIX       => 'gz',
                       DIST_DEFAULT => 'MyTrebleCheck tardist',
@@ -24,14 +25,15 @@ WriteMakefile(
       $ENV{SKIP_FOR_CORE}
         ? ()
            : (PREREQ_PM   => { 'Compress::Raw::Bzip2' => $::VERSION,
-                                   'Compress::Raw::Zlib'   => $::VERSION,
+                                   'Compress::Raw::Zlib'  => $::VERSION,
                                    'Scalar::Util'  => 0,
-                                   $] >= 5.005 && $] < 5.006   
-                                ? ('File::BSDGlob' => 0) 
+                            'Encode'        => 0,
+                                   $] >= 5.005 && $] < 5.006
+                                ? ('File::BSDGlob' => 0)
                                 : () }
              )
     ),
-       
+
     (
     $] >= 5.005
         ? (ABSTRACT => 'IO Interface to compressed data files/buffers',
@@ -39,20 +41,47 @@ WriteMakefile(
         : ()
     ),
 
-    INSTALLDIRS => ($] >= 5.009 ? 'perl' : 'site'),
+    INSTALLDIRS => ($] >= 5.009 && $] < 5.011 ? 'perl' : 'site'),
+
+    EXE_FILES => ['bin/zipdetails', 'bin/streamzip'],
 
-    EXE_FILES => ['bin/zipdetails'],
-    
     (
     $] >= 5.009 && $] <= 5.011001 && ! $ENV{PERL_CORE}
         ? (INSTALLPRIVLIB    => '$(INSTALLARCHLIB)')
         : ()
     ),
 
+     ( eval { ExtUtils::MakeMaker->VERSION(6.46) }
+        ? ( META_MERGE  => {
+
+                "meta-spec" => { version => 2 },
+
+                no_index => {
+                    directory => [ 't', 'private' ],
+                },
+
+                resources   => {
+
+                    bugtracker  => {
+                        web     => 'https://github.com/pmqs/IO-Compress/issues'
+                    },
+
+                    homepage    => 'https://github.com/pmqs/IO-Compress',
+
+                    repository  => {
+                        type    => 'git',
+                        url     => 'git://github.com/pmqs/IO-Compress.git',
+                        web     => 'https://github.com/pmqs/IO-Compress',
+                    },
+                },
+              }
+            )
+        : ()
+    ),
+
     ((ExtUtils::MakeMaker->VERSION() gt '6.30') ?
-        ('LICENSE'  => 'perl')         : ()),    
+        ('LICENSE'  => 'perl')         : ()),
 
 ) ;
 
 # end of file Makefile.PL
-