root/trunk/plagger/Makefile.PL

Revision 267 (checked in by daisuke, 15 years ago)

Add conditional GET support
Xango < 1.02 suffered from a prep_request buglet. require newer

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 requires('Cache::Cache' => 1.04);
22
23 build_requires(Test::More => 0.42);
24
25 features(
26     'Subscription::Bloglines' => [
27         -default => 1,
28         recommends('WebService::Bloglines', 0.10),
29     ],
30     'Subscription::OPML' => [
31         -default => 1,
32         recommends('XML::OPML'),
33     ],
34     'Aggregator::Simple' => [
35         -default => 1,
36         recommends('XML::Feed', 0.08),
37         recommends('XML::Atom'),
38         recommends('XML::RSS::LibXML', 0.16),
39     ],
40     'Publish::Gmail' => [
41         -default => 1,
42         recommends('MIME::Lite'),
43     ],
44     'Aggregator::Xango' => [
45         -default => 0,
46         recommends('POE'),
47         recommends('Xango', 1.02), # avoid prep_request bug
48         recommends('XML::Feed', 0.08),
49         recommends('Cache::FastMmap'),
50         recommends('POE::Component::Client::DNS'),
51         recommends('POE::Component::Client::HTTP'),
52     ],
53     'SmartFeed::Mixi' => [
54         -default => 0,
55         recommends('WWW::Mixi'),
56     ],
57     'Publish::PDF' => [
58         -default => 0,
59         recommends('PDF::FromHTML'),
60     ],
61     'Publish::Delicious' => [
62         -default => 0,
63         recommends('Net::Delicious'),
64     ],
65     'Publish::IRC' => [
66         -default => 0,
67         recommends('POE::Component::IRC'),
68         recommends('POE::Component::IKC::Client'),
69     ],
70     'Filter::URLBL' => [
71         -default => 0,
72         recommends('Net::DNS'),
73     ],
74     'Publish::JavaScript' => [
75         -default => 0,
76         recommends('Template::Plugin::JavaScript'),
77     ],
78     'Subscription::HatenaRSS' => [
79         -default => 0,
80         recommends('WWW::Mechanize'),
81     ],
82     'Filter::HatenaBookmarkUsersCount' => [
83         -default => 0,
84         recommends('XMLRPC::Lite'),
85     ],
86     'Filter::HatenaDiaryKeywordLink' => [
87         -default => 0,
88         recommends('XMLRPC::Lite'),
89     ],
90     'Publish::Feed' => [
91         -default => 1,
92         recommends('XML::Feed', 0.08),
93         recommends('XML::RSS::LibXML', 0.16),
94     ],
95     'Filter::ResolveRelativeLink' => [
96         -default => 0,
97         recommends('HTML::ResolveLink', 0.02),
98     ],
99     'Filter::BulkfeedsTerms' => [
100         -default => 0,
101         recommends('XML::Simple'),
102     ],
103     'Publish::HatenaBookmark' => [
104         -default => 0,
105         recommends('XML::Atom'),
106     ],
107 );
108
109 if ($^O eq 'Darwin') {
110     features(
111         'Publish::Spotlight' => [
112             -default => 1,
113             recommends('Mac::Glue'),
114         ],
115     );
116 } elsif ($^O eq 'MSWin32') {
117     features(
118         'Publish::Speech' => [
119             -default => 0,
120             recommends('Win32::OLE'),
121             recommends('Win32::SAPI4'),
122             recommends('Locale::Country'),
123             recommends('Locale::Language'),
124         ],
125         'Notify::Eject' => [
126             -default => 0,
127             recommends('Win32::MCI::Basic'),
128         ],
129     );
130 }
131
132 auto_include;
133 auto_install;
134 WriteAll;
Note: See TracBrowser for help on using the browser.