| 1 | use ExtUtils::MakeMaker; |
| 2 | use strict; |
| 3 | use warnings; |
| 4 | use PDL::Core::Dev; |
| 5 | |
| 6 | my $package_name = "PDL::IO::ENVI"; |
| 7 | (my $repo = $package_name) =~ s#::#-#g; |
| 8 | $repo = "PDLPorters/$repo"; |
| 9 | WriteMakefile( |
| 10 | NAME => $package_name, |
| 11 | VERSION_FROM => 'ENVI.pm', |
| 12 | AUTHOR => 'PerlDL Developers <[email protected]>', |
| 13 | LICENSE=> "perl", |
| 14 | CONFIGURE_REQUIRES => { |
| 15 | 'ExtUtils::MakeMaker' => 0, |
| 16 | 'PDL' => '2.105', # pdldoc_add |
| 17 | }, |
| 18 | PREREQ_PM => { |
| 19 | 'PDL' => '2.094', |
| 20 | }, |
| 21 | META_MERGE => { |
| 22 | "meta-spec" => { version => 2 }, |
| 23 | resources => { |
| 24 | homepage => 'http://pdl.perl.org/', |
| 25 | bugtracker => {web=>"https://github.com/$repo/issues"}, |
| 26 | repository => { |
| 27 | url => "git://github.com/$repo.git", |
| 28 | type => 'git', |
| 29 | web => "https://github.com/$repo", |
| 30 | }, |
| 31 | x_IRC => 'irc://irc.perl.org/#pdl', |
| 32 | }, |
| 33 | }, |
| 34 | ); |
| 35 | |
| 36 | sub MY::postamble { pdldoc_add() } |