declare minimum perl version and repository, bugtracker in metadata
[p5sagit/Sub-Name.git] / Makefile.PL
index 9699079..a53161d 100644 (file)
@@ -5,7 +5,24 @@ WriteMakefile(
        NAME            => 'Sub::Name',
        VERSION_FROM    => 'lib/Sub/Name.pm',
        ABSTRACT_FROM   => 'lib/Sub/Name.pm',
-       AUTHOR          => 'Matthijs van Duin <xmath@cpan.org>'
+       AUTHOR          => 'Matthijs van Duin <xmath@cpan.org>',
+
+  MIN_PERL_VERSION => '5.006',
+  META_MERGE => {
+    'meta-spec' => { version => 2 },
+    dynamic_config => 0,
+    resources => {
+      repository => {
+        url => 'https://github.com/karenetheridge/Sub-Name.git',
+        web => 'https://github.com/karenetheridge/Sub-Name',
+        type => 'git',
+      },
+      bugtracker => {
+        mailto => 'bug-Sub-Name@rt.cpan.org',
+        web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Sub-Name',
+      },
+    },
+  },
 );
 
 package MY;