Subject: | Update Makefile.PL to show Module dependencies. |
I've patched Makefile.PL to track module dependencies. This should make CPAN testers function
better against this module.
Subject: | patch.txt |
diff --git a/Makefile.PL b/Makefile.PL
index b33e816..a39a00c 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,3 +1,31 @@
+use strict;
+use warnings;
use ExtUtils::MakeMaker;
-WriteMakefile(NAME=>'Sys::Mmap', VERSION=>0.13);
+WriteMakefile(
+ NAME => 'Sys::Mmap',
+ AUTHOR => 'Scott Walters <swalters@cpan.org>',
+ VERSION_FROM => 'Mmap.pm',
+ ABSTRACT_FROM => 'Mmap.pm',
+ PL_FILES => {},
+ ($ExtUtils::MakeMaker::VERSION >= 6.3002 ? ('LICENSE' => 'perl', ) : ()),
+ PREREQ_PM => {
+ ($] >= 5.006 ? ('XSLoader' => 0) : ()),
+ 'DynaLoader' => 0,
+ 'Test::More' => 0,
+ },
+ dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
+ clean => { FILES => 'Sys-Mmap-*' },
+ META_MERGE => {
+ build_requires => {
+ 'Test::More' => 0, # For testing
+ },
+ resources => {
+ license => 'http://dev.perl.org/licenses/',
+ homepage => 'http://wiki.github.com/toddr/Sys-Mmap',
+# bugtracker => 'http://code.google.com/p/Sys-Mmap/issues/list',
+ repository => 'http://github.com/toddr/Sys-Mmap/tree/master',
+# MailingList => 'http://groups.google.com/group/Sys-Mmap',
+ },
+ },
+);
diff --git a/Mmap.pm b/Mmap.pm
index 324d921..e2a8b0a 100644
--- a/Mmap.pm
+++ b/Mmap.pm
@@ -2,7 +2,7 @@ package Sys::Mmap;
=head1 NAME
-Mmap - uses mmap to map in a file as a Perl variable
+Sys::Mmap - uses mmap to map in a file as a Perl variable
=head1 SYNOPSIS