Skip to content

Commit

Permalink
point META files to new GitHub repository
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed Nov 20, 2014
1 parent 2ba4678 commit 4d8b216
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions Makefile.PL
Expand Up @@ -9,24 +9,34 @@ if ($^O eq 'MSWin32') {
'Win32::Console' => 0,
'Win32API::File' => 0,
);
#} else {
# %prereqs = (
# 'Term::ReadPassword' => 0,
# );
}


WriteMakefile(
my %conf = (
'NAME' => 'Term::ReadPassword',
'VERSION_FROM' => 'lib/Term/ReadPassword.pm',
'LICENSE' => 'perl',
'PREREQ_PM' => {
'Test::More' => 0,
%prereqs,
},
'META_MERGE' => {
);

if (eval { ExtUtils::MakeMaker->VERSION(6.46) }) {
$conf{META_MERGE} = {
'meta-spec' => { version => 2 },
resources => {
repository => 'https://github.com/szabgab/Term-ReadPassword-Win32',
repository => {
type => 'git',
url => 'http://github.com/szabgab/Term-ReadPassword.git',
web => 'http://github.com/szabgab/Term-ReadPassword',
license => 'http://dev.perl.org/licenses/',
},
bugtracker => {
web => 'http://github.com/szabgab/Term-ReadPassword/issues',
},
},
},
);
};
}

WriteMakefile(%conf);

0 comments on commit 4d8b216

Please sign in to comment.