| 1 | use strictscip-perl cpan PDL-Fit 2.101 strict/; |
| 2 | use warningsscip-perl cpan PDL-Fit 2.101 warnings/; |
| 3 | use ExtUtils::MakeMakerscip-perl cpan PDL-Fit 2.101 ExtUtils/MakeMaker/; |
| 4 | use PDL::Core::Devscip-perl cpan PDL-Fit 2.101 PDL/Core/Dev/; |
| 5 | |
| 6 | # create GENERATED subdir with *.pm files during 'make dist' (to make metacpan.org happy) |
| 7 | my $preop = '$(PERLRUNINST) -MPDL::Core::Dev -e pdlpp_mkgen $(DISTVNAME)'; |
| 8 | |
| 9 | my $package_name = 'PDL::Fit'; |
| 10 | (my $repo = $package_name) =~ s#::#-#g; |
| 11 | $repo = "PDLPorters/$repo"; |
| 12 | WriteMakefilescip-perl cpan PDL-Fit 2.101 main/WriteMakefile().( |
| 13 | NAME => $package_name, |
| 14 | VERSION_FROM => 'Fit.pm', |
| 15 | AUTHOR => 'PerlDL Developers <[email protected]>', |
| 16 | LICENSE=> "perl", |
| 17 | CONFIGURE_REQUIRES => { |
| 18 | 'ExtUtils::MakeMaker' => 0, |
| 19 | 'PDL' => '2.105', |
| 20 | }, |
| 21 | PREREQ_PM => { |
| 22 | 'PDL' => '2.105', # pdldoc_add |
| 23 | }, |
| 24 | PM => { (mapscip-perl cpan PDL-Fit 2.101 main/map(). {($_scip-perl cpan PDL-Fit 2.101 main/$_. => '$(INST_LIBDIR)/Fit/'.$_scip-perl cpan PDL-Fit 2.101 main/$_.)} <[LP]*.pm>),'Fit.pm'=>'$(INST_LIBDIR)/Fit.pm' }, |
| 25 | dist => { COMPRESS => 'gzip', SUFFIX => 'gz', PREOP => $preop }, |
| 26 | META_MERGE => { |
| 27 | "meta-spec" => { version => 2 }, |
| 28 | resources => { |
| 29 | homepage => 'http://pdl.perl.org/', |
| 30 | bugtracker => {web=>"https://github.com/$repo/issues"}, |
| 31 | repository => { |
| 32 | url => "git://github.com/$repo.git", |
| 33 | type => 'git', |
| 34 | web => "https://github.com/$repo", |
| 35 | }, |
| 36 | x_IRC => 'irc://irc.perl.org/#pdl', |
| 37 | }, |
| 38 | }, |
| 39 | ); |
| 40 | |
| 41 | sub MY::postamblescip-perl cpan PDL-Fit 2.101 main/`MY::postamble`(). { pdldoc_addscip-perl cpan PDL-Fit 2.101 main/pdldoc_add().() } |