-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathMakefile.PL
130 lines (114 loc) · 3.37 KB
/
Makefile.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
use inc::Module::Install;
name 'Remedie';
license 'perl';
all_from 'lib/Remedie.pm';
if ($^O eq 'darwin' && !$Module::Install::AUTHOR) {
recommend_binary_install();
}
requires 'AnyEvent', 4.82;
requires 'AnyEvent::HTTP';
requires 'Bit::Vector';
requires 'Cache::Cache';
requires 'Class::Accessor::Fast';
requires 'Coro', 5.161;
requires 'EV', 3.6;
requires 'Date::Parse';
requires 'DateTime';
requires 'DateTime::Format::ISO8601';
requires 'DateTime::Format::Mail';
requires 'DateTime::Format::Strptime';
requires 'DateTime::TimeZone';
requires 'DBI', '1.607';
requires 'DBD::SQLite', '1.25';
requires 'Devel::LeakGuard::Object';
requires 'Digest::MD5';
requires 'Encode';
requires 'Feed::Find';
requires 'File::Find::Rule';
requires 'File::Find::Rule::Filesys::Virtual';
requires 'File::Temp';
requires 'Filesys::Virtual';
requires 'Filesys::Virtual::Plain';
requires 'HTML::Entities';
requires 'HTML::ResolveLink';
requires 'HTML::Selector::XPath';
requires 'HTML::Tagset';
requires 'HTML::TreeBuilder';
requires 'HTML::TreeBuilder::XPath', 0.09;
requires 'HTML::TreeBuilder::LibXML', 0.09;
requires 'HTTP::Date';
requires 'HTTP::Engine', '0.02002';
requires 'HTTP::Parser';
requires 'Image::Info';
requires 'JSON::XS';
requires 'List::Util';
requires 'Log::Dispatch';
requires 'Log::Dispatch::File';
requires 'LWP', 5.827;
requires 'MIME::Types';
requires 'Module::Pluggable', '3.9';
requires 'Net::Rendezvous::Publish';
requires 'Net::SSLeay';
requires 'Path::Class';
requires 'Path::Class::Unicode';
requires 'Pod::Usage';
requires 'Rose::DB';
requires 'Rose::DB::Object';
requires 'String::CamelCase';
requires 'String::ShellQuote';
requires 'Template';
requires 'Term::Encoding';
requires 'Text::Tags';
requires 'Tie::File';
requires 'UNIVERSAL::require';
requires 'URI', 1.37;
requires 'URI::Escape';
requires 'URI::Fetch';
requires 'Web::Scraper', 0.29;
requires 'XML::Atom';
requires 'XML::LibXML';
requires 'XML::LibXML::Simple';
requires 'XML::RSS::LibXML';
requires 'XML::Feed', 0.42;
requires 'XML::OPML::LibXML';
requires 'YAML::XS';
requires 'Any::Moose', 0.08;
requires_any_moose 'X::ConfigFromFile';
requires_any_moose 'X::Getopt';
requires_any_moose 'X::Types::Path::Class';
if ($^O eq 'darwin') {
requires 'Mac::AppleScript';
requires 'File::Spotlight', 0.04;
requires 'Net::Rendezvous::Publish::Backend::Apple';
}
build_requires 'Test::More';
use_test_base;
auto_include_deps;
tests 't/*.t t/plagger/core/*.t t/plagger/plugins/*/*.t';
author_tests('xt');
include 'Module::AutoInstall';
auto_install;
WriteAll;
eval { require Plagger };
unless ($@) {
warn <<WARN;
---------------------------------------------------------------
You seem to have Plagger $Plagger::VERSION in your system. Running
'make install' will overwrite forked Plagger modules and that will
break your existent Plagger installation. I recommend you not doing
that.
DO NOT RUN 'make install'
You have been warned.
---------------------------------------------------------------
WARN
}
sub recommend_binary_install {
warn <<WARN;
---------------------------------------------------------------
You're trying to build your own Remedie using Makefile.PL on Mac OS X.
There's a binary .app package available at http://github.com/miyagawa/remedie/downloads
and it is hightly recommended to install the binary unless you're a developer.
---------------------------------------------------------------
WARN
sleep 3;
}