diff options
author | David Mitchell <davem@iabyn.com> | 2014-12-03 15:49:15 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2014-12-03 17:01:49 +0000 |
commit | 95a2e48fd5a4c8e221149d1c1de129f30eaeadce (patch) | |
tree | 0bb899196b73eecd5f6ee2242be8098ab0cb2643 /cpan/IO-Compress | |
parent | 7e9deda3926b2444b9d169a6fcbb8dd4444c9b56 (diff) | |
download | perl-95a2e48fd5a4c8e221149d1c1de129f30eaeadce.tar.gz |
reinstate cpan/IO-Compress/Makefile.PL
This was removed a year ago, but it causes problems with
ABSTACT and ABSTACT_FROM; since there isn't an IO/Compress.pm
file. make_ext.pl special-cases Makefile.PL to get the abstract
from IO/Compress/Base.pm; but MakeMaker looks for, and fails to
find, 'IO::Compress - ...' in the pod for that file,and prints an error.
Rather than more special-casing, it's easier to just restore the
distribution's Makefile.PL, which already contains the correct
'ABSTRACT => ...' entry.
Diffstat (limited to 'cpan/IO-Compress')
-rw-r--r-- | cpan/IO-Compress/Makefile.PL | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/cpan/IO-Compress/Makefile.PL b/cpan/IO-Compress/Makefile.PL new file mode 100644 index 0000000000..9b90c3758e --- /dev/null +++ b/cpan/IO-Compress/Makefile.PL @@ -0,0 +1,64 @@ +#! perl -w + +use strict ; +require 5.006 ; + +$::VERSION = '2.066' ; + +use private::MakeUtil; +use ExtUtils::MakeMaker 5.16 ; + +UpDowngrade(getPerlFiles('MANIFEST')) + unless $ENV{PERL_CORE}; + +WriteMakefile( + NAME => 'IO::Compress', + VERSION_FROM => 'lib/IO/Compress/Base.pm', + 'dist' => { COMPRESS => 'gzip', + TARFLAGS => '-chvf', + SUFFIX => 'gz', + DIST_DEFAULT => 'MyTrebleCheck tardist', + }, + + ( + $ENV{SKIP_FOR_CORE} + ? () + : (PREREQ_PM => { 'Compress::Raw::Bzip2' => $::VERSION, + 'Compress::Raw::Zlib' => $::VERSION, + 'Scalar::Util' => 0, + $] >= 5.005 && $] < 5.006 + ? ('File::BSDGlob' => 0) + : () } + ) + ), + + ( + $] >= 5.005 + ? (ABSTRACT => 'IO Interface to compressed data files/buffers', + AUTHOR => 'Paul Marquess <pmqs@cpan.org>') + : () + ), + + INSTALLDIRS => ($] >= 5.009 && $] < 5.011 ? 'perl' : 'site'), + + EXE_FILES => ['bin/zipdetails'], + + ( + $] >= 5.009 && $] <= 5.011001 && ! $ENV{PERL_CORE} + ? (INSTALLPRIVLIB => '$(INSTALLARCHLIB)') + : () + ), + + META_MERGE => { + no_index => { + directory => [ 't', 'private' ], + }, + }, + + ((ExtUtils::MakeMaker->VERSION() gt '6.30') ? + ('LICENSE' => 'perl') : ()), + +) ; + +# end of file Makefile.PL + |