vendor.yaml example file
[perl-cwmp.git] / Makefile.PL
1 use lib './lib';
2
3 use inc::Module::Install;
4
5 name            'CWMP';
6 version         '0.20';
7 license         'GPL';
8 requires        'XML::Bare';
9 requires        'XML::Generator';
10 requires        'Data::Dump';
11 requires        'Carp';
12 requires        'Class::Accessor';
13 requires        'Net::HTTP';
14 requires        'Cwd';
15 requires        'File::Slurp';
16 requires        'Getopt::Long';
17 #requires       'Term::Shelly'  =>      '0.03';
18 requires        'Module::Pluggable';
19 requires        'Hash::Merge';
20 requires        'IPC::DirQueue';
21 requires        'File::Spec';
22 requires        'File::Path';
23 requires        'Class::Trigger';
24 requires        'File::Find';
25
26 build_requires 'Test::More';
27
28 features(
29         'CWMP::Store::YAML' => [
30                 -default => 1,
31                 'YAML::Syck' => 0.91,
32         ],
33         'CWMP::Store::JSON' => [
34                 -default => 1,
35                 'JSON::XS' => 2.0,
36         ],
37         'Command-line access to modems (tcli.pl)' => [
38                 -default => 1,
39                 'Expect',
40                 'Net::Telnet',
41         ],
42         'HTML documentation (make html)' => [
43                 -default => 0,
44                 'Pod::Xhtml',
45         ],
46         'Pod coverage tests (for developers)' => [
47                 -default => 0,
48                 'Test::Pod::Coverage',
49         ],
50 #       'Memory leak detection (for developers)' => [
51 #               -default => 0,
52 #               'Devel::LeakTrace::Fast' => 0.11,
53 #       ],
54 );
55
56 my_targets();
57
58 clean_files('dump/* yaml state.db html t/var/* queue');
59
60 auto_install;
61
62 WriteAll;