-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.PL
43 lines (42 loc) · 1.37 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
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'PDL::IO::DBI',
AUTHOR => 'KMX <[email protected]>',
VERSION_FROM => 'lib/PDL/IO/DBI.pm',
ABSTRACT_FROM => 'lib/PDL/IO/DBI.pm',
LICENSE => 'perl',
MIN_PERL_VERSION => '5.010',
PREREQ_PM => {
'PDL' => '2.014', # we need: longlong-double fix
'DBI' => 0,
'Exporter' => '5.57', # we need: use Exporter 'import';
'Time::Moment' => '0.12', # we need: lenient ISO 8601 parsing
},
BUILD_REQUIRES => {
'PDL' => '2.014',
'DBI' => 0,
'Exporter' => '5.57',
'Time::Moment' => '0.12',
'Test::More' => '0.88', # we need: done_testing()
'Test::Number::Delta' => '1.06', # versions before 1.06 have buggy relative mode
},
META_MERGE => {
prereqs => {
runtime => {
recommends => {
'PDL::DateTime' => 0,
},
},
},
resources => {
repository => 'https://github.com/kmx/pdl-io-dbi',
bugtracker => 'https://github.com/kmx/pdl-io-dbi/issues',
},
},
dist => {
($^O eq 'MSWin32' ? (TAR => 'ptar', TARFLAGS => '-c -C -f') : (TARFLAGS => '--owner=0 --group=0 -cvf')),
PREOP => 'perldoc -u lib/PDL/IO/DBI.pm | pod2markdown > README.md',
},
);