root/lang/perl/Moxy/trunk/Makefile.PL @ 29667

Revision 29667, 1.5 kB (checked in by tokuhirom, 6 years ago)

depend to latest version of HTTP::Engine/HTTP::Session

Line 
1use strict;
2use warnings;
3use inc::Module::Install;
4
5name("Moxy");
6all_from("lib/Moxy.pm");
7
8{
9    no warnings 'redefine';
10    *recommends_hack = $Module::Install::VERSION > 0.70 ?
11        sub { recommends(@_); $_[0] } :
12        \&recommends;
13}
14
15requires 'App::Cmd'                       => 0.200;
16requires 'Class::Component'               => 0.17;
17requires 'Encode::JP::Mobile'             => 0.25;
18requires 'HTML::ReplacePictogramMobileJp' => 0.06;
19requires 'HTML::Tree'                     => 3.23;
20requires 'HTML::TreeBuilder::XPath'       => 0.09;
21requires 'HTTP::Engine'                   => '0.1.1';
22requires 'Params::Validate'               => 0.91;
23requires 'Template'                       => 2.19;
24requires 'UNIVERSAL::require'             => '0.11';
25requires 'CGI';
26requires 'Carp';
27requires 'Class::Accessor';
28requires 'FindBin';
29requires 'HTTP::MobileAttribute';
30requires 'Path::Class';
31requires 'HTTP::Session' => 0.29;
32requires 'HTTP::Cookies'; # part of LWP
33
34test_requires('Test::More');
35test_requires('Path::Class');
36
37features(
38    'Better Encoding detection' => [
39        recommends_hack('Encode::Detect', 1.0),
40        -default => 0,
41    ],
42    'Plugin::StripScripts' => [
43        recommends_hack('HTML::StripScripts', 1.04),
44        recommends_hack('HTML::StripScripts::Parser', 1.02),
45        -default => 0,
46    ],
47    'Plugin::Scrubber' => [
48        recommends_hack('HTML::Scrubber', 1.04),
49        -default => 0,
50    ],
51);
52
53tests 't/*.t t/*/*.t t/*/*/*.t';
54
55author_tests('xt');
56
57use_test_base;
58
59install_script glob('script/*.pl');
60WriteAll;
61
Note: See TracBrowser for help on using the browser.