IO::Compress::* 2.011
[p5sagit/p5-mst-13.2.git] / ext / Compress / Zlib / Makefile.PL
index f09008e..e79a132 100755 (executable)
@@ -3,7 +3,7 @@
 use strict ;
 require 5.004 ;
 
-$::VERSION = '2.005' ;
+$::VERSION = '2.011' ;
 
 use private::MakeUtil;
 use ExtUtils::MakeMaker 5.16 ;
@@ -43,6 +43,14 @@ WriteMakefile(
         : ()
     ),
 
+    INSTALLDIRS => ($] >= 5.009 ? 'perl' : 'site'),
+
+    (
+    $] >= 5.009 && ! $ENV{PERL_CORE}
+        ? (INST_LIB    => 'blib/arch')
+        : ()
+    ),
+
     ((ExtUtils::MakeMaker->VERSION() gt '6.30') ?
         ('LICENSE'  => 'perl')         : ()),