X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;ds=sidebyside;f=Makefile.PL;h=33ca035a3bf2132cd7f37b750f720e0ee09d4f0b;hb=ddd66e7992d7533a5a14b34470898cef32cf2db8;hp=71d7e0d1964f5b264a2cddc92973db32dd480918;hpb=83e9c4cdd31cc9832f19af403a27b0b417310dd9;p=perl%2Fmodules%2Fre-engine-Plugin.git diff --git a/Makefile.PL b/Makefile.PL index 71d7e0d..33ca035 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,6 +3,12 @@ use ExtUtils::MakeMaker; my $dist = 're-engine-Plugin'; +(my $name = $dist) =~ s{-}{::}g; + +my %PREREQ_PM = ( + 'XSLoader' => 0, +); + my %META = ( configure_requires => { 'ExtUtils::MakeMaker' => 0, @@ -10,7 +16,9 @@ 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/", @@ -20,15 +28,13 @@ my %META = ( ); WriteMakefile( - NAME => 're::engine::Plugin', + NAME => $name, AUTHOR => 'Vincent Pit ', LICENSE => 'perl', ABSTRACT_FROM => 'Plugin.pod', VERSION_FROM => 'Plugin.pm', PL_FILES => {}, - PREREQ_PM => { - 'XSLoader' => 0, - }, + PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => 5.010, META_MERGE => \%META, dist => {