-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.PL
More file actions
51 lines (49 loc) · 1.22 KB
/
Makefile.PL
File metadata and controls
51 lines (49 loc) · 1.22 KB
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
use strict;
use warnings;
use ExtUtils::MakeMaker;
use PDL::Core::Dev;
my $package_name = "PDL::Graphics::TriD";
(my $repo = $package_name) =~ s#::#-#g;
$repo = "PDLPorters/$repo";
WriteMakefile (
NAME => $package_name,
AUTHOR => 'PerlDL Developers <pdl-general@lists.sourceforge.net>',
LICENSE=> "perl",
VERSION_FROM => 'lib/PDL/Graphics/TriD.pm',
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => '7.72',
'PDL' => '2.104',
},
PREREQ_PM => {
'PDL' => '2.104', # inplace norm
'OpenGL::Modern' => '0.0403',
'OpenGL::GLFW' => '0.0402',
},
TEST_REQUIRES => {
'Test::More' => '0.88',
},
LIBS => ['-lm'],
META_MERGE => {
"meta-spec" => { version => 2 },
resources => {
homepage => 'http://pdl.perl.org/',
bugtracker => {web=>"https://github.com/$repo/issues"},
repository => {
url => "git://github.com/$repo.git",
type => '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) }
}