Skip to content

Commit 5b4ca73

Browse files
committed
add repo metadata
1 parent 0713ae1 commit 5b4ca73

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

Makefile.PL

+17-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ use ExtUtils::MakeMaker;
22
use strict;
33
use warnings;
44

5+
my $package_name = "PDL::IO::ENVI";
6+
(my $repo = $package_name) =~ s#::#-#g;
7+
$repo = "PDLPorters/$repo";
58
WriteMakefile(
6-
NAME => "PDL::IO::ENVI",
9+
NAME => $package_name,
710
VERSION_FROM => 'ENVI.pm',
811
AUTHOR => 'PerlDL Developers <pdl-general@lists.sourceforge.net>',
912
CONFIGURE_REQUIRES => {
@@ -12,4 +15,17 @@ WriteMakefile(
1215
PREREQ_PM => {
1316
'PDL' => '2.094',
1417
},
18+
META_MERGE => {
19+
"meta-spec" => { version => 2 },
20+
resources => {
21+
homepage => 'http://pdl.perl.org/',
22+
bugtracker => {web=>"https://github.com/$repo/issues"},
23+
repository => {
24+
url => "git://github.com/$repo.git",
25+
type => 'git',
26+
web => "https://github.com/$repo",
27+
},
28+
x_IRC => 'irc://irc.perl.org/#pdl',
29+
},
30+
},
1531
);

0 commit comments

Comments
 (0)