root/trunk/plagger/Makefile.PL

Revision 296 (checked in by jesse, 15 years ago)

r25521@truegrounds: jesse | 2006-03-04 14:44:14 -0800

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