-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
55 lines (50 loc) · 1.35 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
use inc::Module::Install;
name 'Bot-IRC-Lite';
all_from 'lib/Bot/IRC/Lite.pm';
{
no warnings 'redefine';
*recommends_hack
= $Module::Install::VERSION > 0.70
? sub { recommends(@_); $_[0] }
: \&recommends;
}
requires(
'Mouse' => 0,
'MouseX::Object::Pluggable' => 0,
'AnyEvent' => 0,
'AnyEvent::IRC::Client' => 0,
'Carp' => 0,
'YAML' => 0,
'Path::Class' => 0,
'Class::Singleton' => 0,
'Encode' => 0,
'FindBin::libs' => 0,
);
features(
'use RSS plugin?' => [
-default => 0,
recommends_hack( 'AnyEvent::Feed' => 0 ),
],
'use Twitter::TrackHashTag plugin?' => [
-default => 0,
recommends_hack('AnyEvent::Twitter::Stream' => 0),
],
'use Title plugin?' => [
-default => 1,
recommends_hack('LWP::UserAgent' => 0),
recommends_hack('URI::Find::UTF8' => 0),
recommends_hack('HTTP::Response::Encoding' => 0),
],
'use JSONRPC plugin?' => [
-default => 1,
recommends_hack('AnyEvent::JSONRPC::Lite' => 0),
],
);
test_requires(
'Test::More' => 0,
'Test::LoadAllModules' => 0,
'Test::Requires' => 0,
);
use_test_base;
auto_include;
WriteAll;