Skip to content

Commit

Permalink
Merge pull request #162 from benkasminbullock/patch-1
Browse files Browse the repository at this point in the history
add meta info on repository and bugtracker.
  • Loading branch information
miyagawa committed Jun 22, 2012
2 parents a93c7de + 69f5484 commit 934ac09
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Makefile.PL
Expand Up @@ -36,7 +36,8 @@ if (-e 'cpanm') {
}

use ExtUtils::MakeMaker;
WriteMakefile(

my %args = (
NAME => 'App::cpanminus',
VERSION_FROM => "lib/App/cpanminus.pm",
ABSTRACT => 'Get, unpack, build and install modules from CPAN.',
Expand All @@ -48,3 +49,15 @@ WriteMakefile(
LICENSE => 'perl',
EXE_FILES => [ 'bin/cpanm' ],
);

my $eummv = eval ($ExtUtils::MakeMaker::VERSION);
if ($eummv >= 6.45) {
$args{META_MERGE} = {
resources => {
repository => 'git://github.com/miyagawa/cpanminus.git',
bugtracker => 'https://github.com/miyagawa/cpanminus/issues',
},
};
}

WriteMakefile(%args);

0 comments on commit 934ac09

Please sign in to comment.