forked from semifor/net-twitter-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
55 lines (41 loc) · 1.18 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;
version '0.11002';
if ( $Module::Install::AUTHOR ) {
eval "use Net::Twitter::Core";
die $@ if $@;
my $perl5_lib = join ':', @INC;
my @libs = map "-I$_", @INC;
system($^X, @libs, "src/build.pl",
version, 'src/net-twitter-lite.tt2', 'lib/Net/Twitter/Lite.pm')
== 0 || die "src/bulid.pl failed: $?";
system 'pod2text lib/Net/Twitter/Lite.pm > README';
}
name 'Net-Twitter-Lite';
all_from 'lib/Net/Twitter/Lite.pm';
# core
requires 'Carp';
requires 'Encode';
requires 'Memoize';
# CPAN
requires 'JSON' => 2.02;
requires 'URI' => 1.40;
requires 'URI::Escape';
requires 'LWP::UserAgent' => 2.032;
requires 'Crypt::SSLeay' => 0.5;
feature 'OAuth Authentication',
-default => 1,
'Net::OAuth' => '0.25',
;
feature '.netrc support',
-default => 0,
'Net::Netrc' => 0,
;
no_index directory => 'src';
no_index directory => 'examples';
# resources
homepage 'http://github.com/semifor/Net-Twitter-Lite';
bugtracker 'http://rt.cpan.org/Public/Dist/Display.html?Name=Net-Twitter-Lite';
auto_set_repository;
auto_manifest;
auto_install;
WriteAll;