Add repository and bugtracker META to Module-CoreList Makefile.PL
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Fri, 10 May 2013 11:57:57 +0000 (12:57 +0100)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Fri, 10 May 2013 11:57:57 +0000 (12:57 +0100)
dist/Module-CoreList/Makefile.PL

index 9f86c61..f95b29d 100644 (file)
@@ -2,6 +2,14 @@ use ExtUtils::MakeMaker;
 
 push @extra, 'INSTALLDIRS' => 'perl' if $] >= 5.008009 and $] < 5.012;
 
+push @extra, 'META_MERGE' => {
+        resources => {
+            repository => 'git://perl5.git.perl.org/perl.git',
+            bugtracker => 'https://rt.perl.org/rt3/',
+            homepage   => "http://dev.perl.org/",
+        },
+    } unless $ExtUtils::MakeMaker::VERSION < 6.46;
+
 
 WriteMakefile
 (
@@ -16,6 +24,13 @@ WriteMakefile
     'INSTALLDIRS' => ($] < 5.011 ? 'perl' : 'site'),
     'PL_FILES' => {},
     LICENSE => 'perl',
+    META_MERGE => {
+        resources => {
+            repository => 'git://perl5.git.perl.org/perl.git',
+            bugtracker => 'https://rt.perl.org/rt3/',
+            homepage   => "http://dev.perl.org/",
+        },
+    },
     @extra,
 )
 ;