root/lang/perl/mobirc/trunk/Makefile.PL @ 12371

Revision 12371, 2.3 kB (checked in by tokuhirom, 7 years ago)

use Template::Declare for readable code.

Line 
1use inc::Module::Install;
2name 'mobirc';
3all_from 'lib/App/Mobirc.pm';
4
5license  'gpl';
6
7# moooooose
8requires 'Moose'               => '0.45';
9
10# poe
11requires 'POE'                         => '1.0002';
12requires 'POE::Sugar::Args'            => '1.3';
13requires 'POE::Component::IRC'         => '5.58';
14
15# mobile stuff
16requires 'Encode::JP::Mobile'                       => '0.25';
17requires 'HTTP::MobileAgent'                        => '0.27';
18requires 'HTTP::MobileAgent::Plugin::Charset'       => '0.03';
19requires 'HTML::Entities::ConvertPictogramMobileJp' => '0.06';
20
21# template engine
22requires 'Template' => 2.16;                # new 'uri' is supported from 2.16
23requires 'Template::Provider::Encoding' => '0.10';
24requires 'Template::Declare'  => '0.28';
25
26# utilities
27requires 'CGI'                => '3.37';
28requires 'Carp'               => '1.04';
29requires 'Encode'             => '2.25';
30requires 'Exporter'           => '5.62';
31requires 'File::Spec'         => '3.2701';
32requires 'FindBin'            => '1.47';
33requires 'HTML::Entities'     => '1.35';
34requires 'HTTP::Response'     => '5.811';
35requires 'Path::Class'        => '0.16';
36requires 'Proc::Daemon'       => '0.03';
37requires 'Params::Validate'   => '0.91';
38requires 'Scalar::Util'       => '0.19';
39requires 'URI'                => '1.36';
40requires 'URI::Find'          => '0.16';
41requires 'YAML'               => '0.66';
42requires 'UNIVERSAL::require' => '0.11';
43requires 'Storable'           => '2.18';
44requires 'List::MoreUtils'    => '0.22';
45
46# Note.
47#  follow modules are contained by other module.
48#  - URI::Escape                 => URI
49#  - POE::Filter::HTTPD          => POE
50#  - POE::Component::Server::TCP => POE
51#  - List::Util                  => Scalar::Util
52
53features(
54    'GPS support' => [
55        -default => 0,
56        recommends('HTTP::MobileAgent::Plugin::Locator'),
57        recommends('Template::Plugin::HTMLMobileJp'),
58    ],
59    'validate configuration file' => [
60        recommends('Kwalify', '1.16'),
61    ],
62    'DoCoMo CSS support' => [
63        -default => 1,
64        recommends('CSS::Tiny' => '1.15'),
65    ],
66    'Authorizer::Cookie support' => [
67        -default => 0,
68        recommends('CGI::Cookie', '1.29'),
69    ],
70);
71
72tests 't/*.t t/*/*.t t/*/*/*.t';
73test_requires 'Test::More';
74test_requires 'Test::Exception';
75install_script 'mobirc';
76use_test_base;
77auto_include;
78WriteAll;
79
Note: See TracBrowser for help on using the browser.