-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.PL
34 lines (30 loc) · 931 Bytes
/
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
use strict;
use warnings;
use ExtUtils::MakeMaker;
use PDL::Core::Dev;
my @pack = (["complex.pd", qw(Complex PDL::Complex), '', 1]);
my %hash = pdlpp_stdargs(@pack);
$hash{LIBS} = ['-lm'];
$hash{CONFIGURE_REQUIRES}{'ExtUtils::MakeMaker'} = '7.14';
$hash{CONFIGURE_REQUIRES}{'PDL::Core::Dev'} = 0;
$hash{PREREQ_PM}{'PDL'} = '2.095';
sub MY::postamble { pdlpp_postamble(@pack); }
WriteMakefile(
AUTHOR => 'Marc Lehmann <[email protected]>',
LICENSE => 'perl',
MIN_PERL_VERSION => '5.016',
META_MERGE => {
"meta-spec" => { version => 2 },
resources => {
homepage => 'http://pdl.perl.org/',
bugtracker => {web=>'https://github.com/PDLPorters/PDL-Complex/issues'},
repository => {
url => 'git://github.com/PDLPorters/PDL-Complex.git',
type => 'git',
web => 'https://github.com/PDLPorters/PDL-Complex',
},
x_IRC => 'irc://irc.perl.org/#pdl',
},
},
%hash,
);