Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 61 lines (49 sloc) 1.976 kb
b3d5b31 first version of Makefile.PL
Alexis Sukrieh authored
1 use ExtUtils::MakeMaker;
2
1404a83 cpanservice Upgrade Makefile.PL
cpanservice authored
3 WriteMakefile1(
b3c8b5f Makefile.PL upgrade (add a clean rule)
Alexis Sukrieh authored
4 NAME => 'Dancer',
5 ABSTRACT => "A minimal-effort oriented web application framework",
6 LICENSE => 'perl',
7 VERSION_FROM => 'lib/Dancer.pm',
8 EXE_FILES => ['script/dancer'],
9
1404a83 cpanservice Upgrade Makefile.PL
cpanservice authored
10 META_MERGE => {
11 resources => {
12 repository => 'http://github.com/sukria/Dancer',
13 },
14 },
15
b3c8b5f Makefile.PL upgrade (add a clean rule)
Alexis Sukrieh authored
16 BUILD_REQUIRES => {
17 'Test::More' => '0',
18 },
19
b3d5b31 first version of Makefile.PL
Alexis Sukrieh authored
20 PREREQ_PM => {
c1479fc MIME::Types is not in core, changed Makefile.PL accordingly
Alexis Sukrieh authored
21
820d89a REAMDE update + Makefile.PL deps update
Alexis Sukrieh authored
22 # non-core
11a4378 now depends on HTTP::Server::Simple::PSGI
Alexis Sukrieh authored
23 'HTTP::Body' => '0',
5f02e58 HTTP::Server::Simple::PSGI dependency update: 0.11
Alexis Sukrieh authored
24 'HTTP::Server::Simple::PSGI' => '0.11',
11a4378 now depends on HTTP::Server::Simple::PSGI
Alexis Sukrieh authored
25 'Exception::Class' => '0',
c1479fc MIME::Types is not in core, changed Makefile.PL accordingly
Alexis Sukrieh authored
26 'MIME::Types' => '0',
27
820d89a REAMDE update + Makefile.PL deps update
Alexis Sukrieh authored
28 # core
a01397a move to File::MimeInfo::Simple and provide a default mime_types table (t...
Alexis Sukrieh authored
29 'File::Basename' => '0',
30 'File::Spec' => '0',
b3d5b31 first version of Makefile.PL
Alexis Sukrieh authored
31 },
b3c8b5f Makefile.PL upgrade (add a clean rule)
Alexis Sukrieh authored
32
33 test => {TESTS => join( ' ', (glob( 't/*.t'), glob('t/*/*.t')))},
34 clean => {FILES => "t/lib/sessions/*.yml logs/*.log t/*/logs/*" }
35
b3d5b31 first version of Makefile.PL
Alexis Sukrieh authored
36 );
1404a83 cpanservice Upgrade Makefile.PL
cpanservice authored
37
38 sub WriteMakefile1 { #Written by Alexandr Ciornii, version 0.21. Added by eumm-upgrade.
39 my %params=@_;
40 my $eumm_version=$ExtUtils::MakeMaker::VERSION;
41 $eumm_version=eval $eumm_version;
42 die "EXTRA_META is deprecated" if exists $params{EXTRA_META};
43 die "License not specified" if not exists $params{LICENSE};
44 if ($params{BUILD_REQUIRES} and $eumm_version < 6.5503) {
45 #EUMM 6.5502 has problems with BUILD_REQUIRES
46 $params{PREREQ_PM}={ %{$params{PREREQ_PM} || {}} , %{$params{BUILD_REQUIRES}} };
47 delete $params{BUILD_REQUIRES};
48 }
49 delete $params{CONFIGURE_REQUIRES} if $eumm_version < 6.52;
50 delete $params{MIN_PERL_VERSION} if $eumm_version < 6.48;
51 delete $params{META_MERGE} if $eumm_version < 6.46;
52 delete $params{META_ADD} if $eumm_version < 6.46;
53 delete $params{LICENSE} if $eumm_version < 6.31;
54 delete $params{AUTHOR} if $] < 5.005;
55 delete $params{ABSTRACT_FROM} if $] < 5.005;
56 delete $params{BINARY_LOCATION} if $] < 5.005;
57
58 WriteMakefile(%params);
59 }
60
Something went wrong with that request. Please try again.