-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.PL
More file actions
40 lines (38 loc) · 1015 Bytes
/
Copy pathMakefile.PL
File metadata and controls
40 lines (38 loc) · 1015 Bytes
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
use strict;
use warnings;
use ExtUtils::MakeMaker;
use PDL::Core::Dev;
my $package_name = "PDL::Opt::Simplex";
(my $repo = $package_name) =~ s#::#-#g;
$repo = "PDLPorters/$repo";
WriteMakefile(
NAME => $package_name,
VERSION_FROM => 'Simplex.pm',
AUTHOR => 'PerlDL Developers <pdl-general@lists.sourceforge.net>',
LICENSE=> "perl",
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => 0,
'PDL' => '2.105', # pdldoc_add
},
PREREQ_PM => {
'PDL' => '2.094',
},
PM => {
'Simplex.pm' => '$(INST_LIBDIR)/Simplex.pm',
'Demo.pm' => '$(INST_LIB)/PDL/Demos/Simplex.pm',
},
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',
},
},
);
sub MY::postamble { pdldoc_add() }