Skip to content

Commit bc66ba8

Browse files
committed
add repo metadata
1 parent 2a19334 commit bc66ba8

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

Makefile.PL

Lines changed: 17 additions & 1 deletion
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::IDL";
6+
(my $repo = $package_name) =~ s#::#-#g;
7+
$repo = "PDLPorters/$repo";
58
WriteMakefile(
6-
NAME => "PDL::IO::IDL",
9+
NAME => $package_name,
710
VERSION_FROM => 'IDL.pm',
811
AUTHOR => 'PerlDL Developers <[email protected]>',
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)