root/trunk/plagger/Makefile.PL

Revision 261 (checked in by miyagawa, 15 years ago)

XML::Feed prereq bump up

Line 
1 use inc::Module::Install;
2
3 name('Plagger');
4 all_from('lib/Plagger.pm');
5
6 requires('Class::Accessor::Fast' => 0);
7 requires('File::Find::Rule' => 0);
8 requires('UNIVERSAL::require' => 0);
9 requires('Template' => 0);
10 requires('Template::Provider::Encoding' => 0.04);
11 requires('YAML' => 0.39);
12 requires('Text::Tags' => 0);
13 requires('DateTime' => 0.29);
14 requires('DateTime::Format::Mail' => 0);
15 requires('DateTime::Format::W3CDTF' => 0);
16 requires('DateTime::Format::Strptime' => 0);
17 requires('Digest::MD5' => 0);
18 requires('LWP' => 0);
19 requires('HTML::Parser' => 3.40);
20 requires('URI::Fetch' => 0.04);
21
22 build_requires(Test::More => 0.42);
23
24 features(
25     'Subscription::Bloglines' => [
26         -default => 1,
27         recommends('WebService::Bloglines', 0.10),
28     ],
29     'Subscription::OPML' => [
30         -default => 1,
31         recommends('XML::OPML'),
32     ],
33     'Aggregator::Simple' => [
34         -default => 1,
35         recommends('XML::Feed', 0.08),
36         recommends('XML::Atom'),
37         recommends('XML::RSS::LibXML', 0.16),
38     ],
39     'Publish::Gmail' => [
40         -default => 1,
41         recommends('MIME::Lite'),
42     ],
43     'Aggregator::Xango' => [
44         -default => 0,
45         recommends('POE'),
46         recommends('Xango'),
47         recommends('XML::Feed', 0.08),
48         recommends('Cache::FastMmap'),
49         recommends('POE::Component::Client::DNS'),
50         recommends('POE::Component::Client::HTTP'),
51     ],
52     'SmartFeed::Mixi' => [
53         -default => 0,
54         recommends('WWW::Mixi'),
55     ],
56     'Publish::PDF' => [
57         -default => 0,
58         recommends('PDF::FromHTML'),
59     ],
60     'Publish::Delicious' => [
61         -default => 0,
62         recommends('Net::Delicious'),
63     ],
64     'Publish::IRC' => [
65         -default => 0,
66         recommends('POE::Component::IRC'),
67         recommends('POE::Component::IKC::Client'),
68     ],
69     'Filter::URLBL' => [
70         -default => 0,
71         recommends('Net::DNS'),
72     ],
73     'Publish::JavaScript' => [
74         -default => 0,
75         recommends('Template::Plugin::JavaScript'),
76     ],
77     'Subscription::HatenaRSS' => [
78         -default => 0,
79         recommends('WWW::Mechanize'),
80     ],
81     'Filter::HatenaBookmarkUsersCount' => [
82         -default => 0,
83         recommends('XMLRPC::Lite'),
84     ],
85     'Filter::HatenaDiaryKeywordLink' => [
86         -default => 0,
87         recommends('XMLRPC::Lite'),
88     ],
89     'Publish::Feed' => [
90         -default => 1,
91         recommends('XML::Feed', 0.08),
92         recommends('XML::RSS::LibXML', 0.16),
93     ],
94     'Filter::ResolveRelativeLink' => [
95         -default => 0,
96         recommends('HTML::ResolveLink', 0.02),
97     ],
98     'Filter::BulkfeedsTerms' => [
99         -default => 0,
100         recommends('XML::Simple'),
101     ],
102     'Publish::HatenaBookmark' => [
103         -default => 0,
104         recommends('XML::Atom'),
105     ],
106 );
107
108 if ($^O eq 'Darwin') {
109     features(
110         'Publish::Spotlight' => [
111             -default => 1,
112             recommends('Mac::Glue'),
113         ],
114     );
115 } elsif ($^O eq 'MSWin32') {
116     features(
117         'Publish::Speech' => [
118             -default => 0,
119             recommends('Win32::OLE'),
120             recommends('Win32::SAPI4'),
121             recommends('Locale::Country'),
122             recommends('Locale::Language'),
123         ],
124         'Notify::Eject' => [
125             -default => 0,
126             recommends('Win32::MCI::Basic'),
127         ],
128     );
129 }
130
131 auto_include;
132 auto_install;
133 WriteAll;
Note: See TracBrowser for help on using the browser.