]> git.vpit.fr Git - perl/modules/subs-auto.git/blobdiff - Makefile.PL
Put prerequisites in their own separate hash
[perl/modules/subs-auto.git] / Makefile.PL
index 4a297c22cf7f5e6482658b2d795d65169854e2bc..96ef2564bd0e090be38d649ed57ec2dac0c625d4 100644 (file)
@@ -6,6 +6,12 @@ use ExtUtils::MakeMaker;
 
 my $dist = 'subs-auto';
 
+my %PREREQ_PM = (
+ 'Carp'            => 0,
+ 'Symbol'          => 0,
+ 'Variable::Magic' => '0.08',
+);
+
 my %META = (
  configure_requires => {
   'ExtUtils::MakeMaker' => 0,
@@ -13,12 +19,14 @@ my %META = (
  build_requires => {
   'ExtUtils::MakeMaker' => 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/?p=perl/modules/$dist.git",
+  repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
  },
 );
 
@@ -29,11 +37,9 @@ WriteMakefile(
     VERSION_FROM     => 'lib/subs/auto.pm',
     ABSTRACT_FROM    => 'lib/subs/auto.pm',
     PL_FILES         => {},
-    PREREQ_PM        => {
-        'Carp'            => 0,
-        'Symbol'          => 0,
-        'Variable::Magic' => 0.08
-    },
+    PREREQ_PM        => \%PREREQ_PM,
+    MIN_PERL_VERSION => 5.010,
+    META_MERGE       => \%META,
     dist             => {
         PREOP    => 'pod2text lib/subs/auto.pm > $(DISTVNAME)/README',
         COMPRESS => 'gzip -9f', SUFFIX => 'gz'