]> git.vpit.fr Git - perl/modules/Sub-Prototype-Util.git/blobdiff - Makefile.PL
Put prerequisites in their own separate hash
[perl/modules/Sub-Prototype-Util.git] / Makefile.PL
index 4a8e2af96ee73e105ed28fe18f2978a06f7a4dc2..98961b34749862e97e1f2246510139f0f16dd6b6 100644 (file)
@@ -6,6 +6,12 @@ use ExtUtils::MakeMaker;
 
 my $dist = 'Sub-Prototype-Util';
 
+my %PREREQ_PM = (
+ 'Carp'         => 0,
+ 'Exporter'     => 0,
+ 'Scalar::Util' => 0,
+);
+
 my %META = (
  configure_requires => {
   'ExtUtils::MakeMaker' => 0,
@@ -14,12 +20,14 @@ my %META = (
   'ExtUtils::MakeMaker' => 0,
   'Scalar::Util'        => 0,
   'Test::More'          => 0,
+  %PREREQ_PM,
  },
+ dynamic_config => 0,
  resources => {
   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
   homepage   => "http://search.cpan.org/dist/$dist/",
   license    => 'http://dev.perl.org/licenses/',
-  repository => "http://git.profvince.com/perl/modules/$dist.git",
+  repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
  },
 );
 
@@ -30,11 +38,7 @@ WriteMakefile(
     VERSION_FROM     => 'lib/Sub/Prototype/Util.pm',
     ABSTRACT_FROM    => 'lib/Sub/Prototype/Util.pm',
     PL_FILES         => {},
-    PREREQ_PM        => {
-        'Carp'         => 0,
-        'Exporter'     => 0,
-        'Scalar::Util' => 0
-    },
+    PREREQ_PM        => \%PREREQ_PM,
     MIN_PERL_VERSION => 5.006,
     META_MERGE       => \%META,
     dist             => {