From 71239e46ee83222b61cbb6ef0c88e3a47f868cea Mon Sep 17 00:00:00 2001 From: "git@daemon.de" Date: Mon, 14 Mar 2016 08:35:06 +0100 Subject: [PATCH] added some meta --- Makefile.PL | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index e5b96bd..c7cd60f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -20,7 +20,7 @@ foreach my $module (sort keys %optional) { } -WriteMakefile( +my %params = ( 'NAME' => 'Crypt::PWSafe3', 'VERSION_FROM' => 'lib/Crypt/PWSafe3.pm', 'PREREQ_PM' => { 'Digest::HMAC' => 1.00, @@ -38,6 +38,17 @@ WriteMakefile( FILES => 't/*.out *~ */*~ */*/*~ */*/*/*~' }, ($ExtUtils::MakeMaker::VERSION >= 6.3002 ? ('LICENSE' => 'perl', ) : ()), - ); +if ( $ExtUtils::MakeMaker::VERSION ge '6.46' ) { + $params{META_MERGE} = { + resources => { + homepage => 'http://www.daemon.de/', + bugtracker => 'http://github.com/tlinden/Crypt--PWSafe3', + license => 'http://www.perlfoundation.org/artistic_license_2_0', + repository => 'git://github.com/tlinden/Crypt--PWSafe3.git', + } + }; +} + +WriteMakefile( %params );