forked from mojolicious/mojo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
82 lines (74 loc) · 2.63 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
#!/usr/bin/env perl
use 5.008007;
use strict;
use warnings;
# Son, when you participate in sporting events,
# it's not whether you win or lose, it's how drunk you get.
use ExtUtils::MakeMaker;
my ($mm) = $ExtUtils::MakeMaker::VERSION =~ /^([^_]+)/;
# We only use core modules, so you shouldn't have to install anything besides
# Perl 5.8.7!
WriteMakefile(
NAME => 'Mojolicious',
VERSION_FROM => 'lib/Mojolicious.pm',
ABSTRACT => 'The Web In A Box!',
AUTHOR => 'Sebastian Riedel <[email protected]>',
($mm < 6.3002 ? () : ('LICENSE' => 'artistic_2')),
( $mm < 6.46
? ()
: ( META_MERGE => {
requires => {perl => '5.008007'},
resources => {
homepage => 'http://mojolicio.us',
license => 'http://dev.perl.org/licenses/',
MailingList =>
'http://groups.google.com/group/mojolicious',
repository => 'http://github.com/kraih/mojo',
bugtracker => 'http://github.com/kraih/mojo/issues'
},
no_index => {directory => [qw/t/]}
},
META_ADD => {
build_requires => {},
configure_requires => {}
},
)
),
EXE_FILES => ['script/mojo', 'script/hypnotoad'],
PREREQ_PM => {
'B' => 0,
'Carp' => 0,
'Cwd' => 0,
'Data::Dumper' => 0,
'Digest::MD5' => 0,
'Encode' => 0,
'Errno' => 0,
'Exporter' => 0,
'ExtUtils::MakeMaker' => 0,
'File::Basename' => 0,
'File::Copy' => 0,
'File::Path' => 0,
'File::Spec' => 0,
'File::Spec::Functions' => 0,
'File::Temp' => 0,
'FindBin' => 0,
'Getopt::Long' => 0,
'I18N::LangTags' => 0,
'IO::File' => 0,
'IO::Poll' => 0,
'IO::Socket' => 0,
'List::Util' => 0,
'Locale::Maketext' => 0,
'MIME::Base64' => 0,
'MIME::QuotedPrint' => 0,
'POSIX' => 0,
'Scalar::Util' => 0,
'Storable' => 0,
'Sys::Hostname' => 0,
'Test::Builder' => 0,
'Test::Harness' => 0,
'Test::More' => 0,
'Time::HiRes' => 0
},
test => {TESTS => 't/*.t t/*/*.t'}
);