-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.PL
57 lines (53 loc) · 1.55 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
use utf8;
use 5.006;
use strict;
use warnings;
use ExtUtils::MakeMaker;
my %deps = (
'Test::More' => 0,
'Hash::Merge' => 0,
'YAML::Syck' => 0,
'Class::Accessor::Fast' => 0,
# 'WWW::Plurk' => 0,
# 'Net::Jaiku' => 0,
'Net::Twitter' => 0,
'Class::Accessor::Fast' => 0,
'Text::Table' => 0,
'Number::RecordLocator' => 0,
'Term::ReadLine' => 0,
'App::Cache' => 0,
'Data::Dumper::Simple' => 0,
);
if ( $^O =~ m/darwin/i ) {
$deps{'Mac::Glue'} = '1.30';
$deps{'Mac::Growl'} = '0.67';
} elsif ( $^O =~ m/linux/i ) {
$deps{'Desktop::Notify'} = '0';
}
WriteMakefile(
NAME => 'Jaipo',
AUTHOR => q{BlueT - Matthew Lien - 練喆明 <BlueT@BlueT.org>},
VERSION_FROM => 'lib/Jaipo.pm',
ABSTRACT_FROM => 'lib/Jaipo.pm',
LICENSE => 'artistic_2',
PL_FILES => {},
MIN_PERL_VERSION => 5.006,
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => 0,
},
BUILD_REQUIRES => {
'Test::More' => 0,
},
PREREQ_PM => \%deps,
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Jaipo-*' },
($ExtUtils::MakeMaker::VERSION < 6.46 ? () : (
META_MERGE => {
resources => {
bugtracker => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Jaipo',
repository => 'https://github.com/BlueT/jaipo'
},
})
),
EXE_FILES => [ qw(bin/jaipo) ],
);