-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile.PL
66 lines (64 loc) · 1.69 KB
/
Makefile.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
use strict;
use warnings;
use ExtUtils::MakeMaker;
use PDL::Core::Dev;
my $package_name = "PDL::Stats";
(my $repo = $package_name) =~ s#::#-#g;
$repo = "PDLPorters/$repo";
WriteMakefile(
NAME => $package_name,
AUTHOR => 'Maggie J. Xiong <maggiexyz users.sourceforge.net>',
VERSION_FROM => 'lib/PDL/Stats.pm',
ABSTRACT_FROM => 'lib/PDL/Stats.pm',
MIN_PERL_VERSION => '5.016', # https://github.com/Perl/perl5/issues/11835
LICENSE=> 'perl',
PREREQ_PM => {
'PDL' => '2.099', # badflag propagation fixed
},
CONFIGURE_REQUIRES => {
'PDL' => '2.099',
},
BUILD_REQUIRES => {
'PDL' => '2.099',
},
TEST_REQUIRES => {
'Test::More' => '0.88', # done_testing
'Test::PDL' => '0.21',
},
clean => { FILES => ['PDL-Stats-*'] },
META_MERGE => {
"meta-spec" => { version => 2 },
prereqs => {
develop => {
requires => {
'CPAN::Changes' => 0,
},
},
runtime => {
recommends => {
'PDL::Graphics::Simple' => 0,
'PDL::GSL' => 0,
},
},
},
resources => {
bugtracker => {web=>"https://github.com/$repo/issues"},
repository => {
type => 'git',
url => "git://github.com/$repo.git",
web => "https://github.com/$repo",
},
x_IRC => 'irc://irc.perl.org/#pdl',
},
},
);
{
my @pd_srcs;
package MY; # so that "SUPER" works right
sub init_PM {
my ($self) = @_;
$self->SUPER::init_PM;
@pd_srcs = ::pdlpp_eumm_update_deep($self);
}
sub postamble { ::pdlpp_postamble(@pd_srcs) }
}