Debian Codegraph @

Makefile.PL

raw
1 use strict;
2 use warnings;
3 use ExtUtils::MakeMaker;
4 use PDL::Core::Dev;
5 require ExtUtils::Depends;
6 require File::Spec::Functions;
7
8 my $package_name = 'PDL::IO::HDF';
9 (my $repo = $package_name) =~ s#::#-#g;
10 $repo = "PDLPorters/$repo";
11 WriteMakefile(
12 NAME => $package_name,
13 AUTHOR => 'PerlDL Developers <[email protected]>',
14 LICENSE=> "perl",
15 VERSION_FROM => 'HDF.pm',
16 CONFIGURE_REQUIRES => {
17 'ExtUtils::MakeMaker' => 0,
18 'PDL' => '2.105', # pdldoc_add
19 'ExtUtils::Depends' => '0.402',
20 'Alien::HDF4' => 0,
21 },
22 PREREQ_PM => {
23 'PDL' => '2.094',
24 },
25 TEST_REQUIRES => {
26 'Test::More' => '0.88',
27 },
28 PM => { 'HDF.pm' => '$(INST_LIBDIR)/HDF.pm' },
29 dist => { COMPRESS => 'gzip', SUFFIX => 'gz' },
30 META_MERGE => {
31 "meta-spec" => { version => 2 },
32 resources => {
33 homepage => 'http://pdl.perl.org/',
34 bugtracker => {web=>"https://github.com/$repo/issues"},
35 repository => {
36 url => "git://github.com/$repo.git",
37 type => 'git',
38 web => "https://github.com/$repo",
39 },
40 x_IRC => 'irc://irc.perl.org/#pdl',
41 },
42 },
43 );
44
45 sub MY::postamble { pdldoc_add() }