use strict; use warnings; use ExtUtils::MakeMaker; use PDL::Core::Dev; my $package_name = "PDL::Filter"; (my $repo = $package_name) =~ s#::#-#g; $repo = "PDLPorters/$repo"; WriteMakefile( NAME => $package_name, VERSION_FROM => 'Filter.pm', AUTHOR => 'PerlDL Developers ', LICENSE => 'perl', CONFIGURE_REQUIRES => { 'ExtUtils::MakeMaker' => 0, 'PDL' => '2.105', }, PREREQ_PM => { 'PDL' => '2.105', # pdldoc_add }, PM => { 'Filter.pm' => '$(INST_LIBDIR)/Filter.pm', map +($_ => '$(INST_LIBDIR)/Filter/'.$_), , }, 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', }, }, ); sub MY::postamble { pdldoc_add() }