-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathBuild.PL
72 lines (70 loc) · 3.47 KB
/
Build.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
67
68
69
70
71
72
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'DBD::AnyData',
license => 'perl',
#author => [ q{Jens Rehsack <[email protected]>}, q{Sven Dowideit <[email protected]>} ],
author_from => 'lib/DBD/AnyData.pm',
dist_version_from => 'lib/DBD/AnyData.pm',
resources => {
repository => 'https://github.com/SvenDowideit/DBD-AnyData',
MailingList => 'mailto:[email protected]',
license => 'http://dev.perl.org/licenses/',
},
build_requires => { 'Test::More' => 0.90, },
requires => {
'AnyData' => '0.07',
'DBI' => '1.611_93',
'SQL::Statement' => '1.27_02',
'Params::Util' => '1.00',
},
recommends => {
'AnyData' => '0.10',
'DBI' => '1.612',
'SQL::Statement' => '1.28',
'Params::Util' => '1.01',
},
# from doc, until AnyData has been converted
auto_features => {
remote_files => {
description => "Remote file access",
requires => { 'LWP' => 0, },
recommends => { 'LWP' => '5.836', },
},
xml_access => {
description => "XML access",
requires => {
'XML::Parser' => 0,
'XML::Twig' => 0,
},
recommends => {
'XML::Parser' => '2.36',
'XML::Twig' => '3.35',
},
},
html_tables => {
description => "HTML Table acess",
requires => {
'HTML::Parser' => 0,
'HTML::TableExtract' => 0,
},
recommends => {
'HTML::Parser' => '3.65',
'HTML::TableExtract' => '2.10',
},
},
html_table_writing => {
description => "Write HTML Tables",
requires => { 'CGI' => 0, },
recommends => { 'CGI' => '3.49', },
},
},
CONFLICTS => {
'SQL::Statement' => '1.27',
'DBI' => '1.611',
},
add_to_cleanup => ['DBD-AnyData-*'],
create_makefile_pl => 'traditional',
);
$builder->create_build_script();