Skip to content

Commit

Permalink
add repo metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Dec 9, 2024
1 parent 0d5f410 commit b916bb5
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ use PDL::Core::Dev;
require ExtUtils::Depends;
require File::Spec::Functions;

my $package_name = 'PDL::IO::HDF';
(my $repo = $package_name) =~ s#::#-#g;
$repo = "PDLPorters/$repo";
WriteMakefile(
NAME => 'PDL::IO::HDF',
NAME => $package_name,
AUTHOR => 'PerlDL Developers <[email protected]>',
VERSION_FROM => 'HDF.pm',
CONFIGURE_REQUIRES => {
Expand All @@ -23,4 +26,17 @@ WriteMakefile(
},
PM => { 'HDF.pm' => '$(INST_LIBDIR)/HDF.pm' },
dist => { COMPRESS => 'gzip', SUFFIX => 'gz' },
META_MERGE => {
"meta-spec" => { version => 2 },
resources => {
homepage => 'http://pdl.perl.org/',
bugtracker => {web=>"https://github.com/$repo/issues"},
repository => {
url => "git://github.com/$repo.git",
type => 'git',
web => "https://github.com/$repo",
},
x_IRC => 'irc://irc.perl.org/#pdl',
},
},
);

0 comments on commit b916bb5

Please sign in to comment.