Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 67 lines (55 sloc) 2.254 kb
0707818 Gabor Szabo add some links to META.yml and minimum perl version in Makefile.Pl
szabgab authored
1 use 5.008005;
b3d5b31 first version of Makefile.PL
Alexis Sukrieh authored
2 use ExtUtils::MakeMaker;
3
1404a83 cpanservice Upgrade Makefile.PL
cpanservice authored
4 WriteMakefile1(
b3c8b5f Makefile.PL upgrade (add a clean rule)
Alexis Sukrieh authored
5 NAME => 'Dancer',
6 ABSTRACT => "A minimal-effort oriented web application framework",
7 LICENSE => 'perl',
8 VERSION_FROM => 'lib/Dancer.pm',
9 EXE_FILES => ['script/dancer'],
10
1404a83 cpanservice Upgrade Makefile.PL
cpanservice authored
11 META_MERGE => {
12 resources => {
13 repository => 'http://github.com/sukria/Dancer',
0707818 Gabor Szabo add some links to META.yml and minimum perl version in Makefile.Pl
szabgab authored
14 bugtracker => 'http://github.com/sukria/Dancer/issues',
15 homepage => 'http://perldancer.org/',
1404a83 cpanservice Upgrade Makefile.PL
cpanservice authored
16 },
17 },
18
b3c8b5f Makefile.PL upgrade (add a clean rule)
Alexis Sukrieh authored
19 BUILD_REQUIRES => {
1152a0a Sawyer X fixing RT #57715 - Test::More 0.88 and up
xsawyerx authored
20 'Test::More' => '0.88',
b3c8b5f Makefile.PL upgrade (add a clean rule)
Alexis Sukrieh authored
21 },
22
b3d5b31 first version of Makefile.PL
Alexis Sukrieh authored
23 PREREQ_PM => {
c1479fc MIME::Types is not in core, changed Makefile.PL accordingly
Alexis Sukrieh authored
24
820d89a REAMDE update + Makefile.PL deps update
Alexis Sukrieh authored
25 # non-core
01756f2 fixes for scaffolded apps + Dancer::Deployment cleanup (CGI)
Alexis Sukrieh authored
26 'LWP' => '0',
3997abc comment about HTTP::Body version
Alexis Sukrieh authored
27 'HTTP::Body' => '1.07', # needed for cleanup()
5f02e58 HTTP::Server::Simple::PSGI dependency update: 0.11
Alexis Sukrieh authored
28 'HTTP::Server::Simple::PSGI' => '0.11',
c1479fc MIME::Types is not in core, changed Makefile.PL accordingly
Alexis Sukrieh authored
29 'MIME::Types' => '0',
3997abc comment about HTTP::Body version
Alexis Sukrieh authored
30 'URI' => '0',
c1479fc MIME::Types is not in core, changed Makefile.PL accordingly
Alexis Sukrieh authored
31
820d89a REAMDE update + Makefile.PL deps update
Alexis Sukrieh authored
32 # core
3aa98df merge kappa charset support patch
Alexis Sukrieh authored
33 'File::Basename' => '0',
34 'File::Spec' => '0',
35 'Encode' => '0',
1287520 Dancer::Timer depends hardly on Time::HiRes (which is core since Perl 5....
Alexis Sukrieh authored
36 'Time::HiRes' => '0', # in core since 5.7
b3d5b31 first version of Makefile.PL
Alexis Sukrieh authored
37 },
b3c8b5f Makefile.PL upgrade (add a clean rule)
Alexis Sukrieh authored
38
39 test => {TESTS => join( ' ', (glob( 't/*.t'), glob('t/*/*.t')))},
40 clean => {FILES => "t/lib/sessions/*.yml logs/*.log t/*/logs/*" }
41
b3d5b31 first version of Makefile.PL
Alexis Sukrieh authored
42 );
1404a83 cpanservice Upgrade Makefile.PL
cpanservice authored
43
44 sub WriteMakefile1 { #Written by Alexandr Ciornii, version 0.21. Added by eumm-upgrade.
45 my %params=@_;
46 my $eumm_version=$ExtUtils::MakeMaker::VERSION;
47 $eumm_version=eval $eumm_version;
48 die "EXTRA_META is deprecated" if exists $params{EXTRA_META};
49 die "License not specified" if not exists $params{LICENSE};
50 if ($params{BUILD_REQUIRES} and $eumm_version < 6.5503) {
51 #EUMM 6.5502 has problems with BUILD_REQUIRES
52 $params{PREREQ_PM}={ %{$params{PREREQ_PM} || {}} , %{$params{BUILD_REQUIRES}} };
53 delete $params{BUILD_REQUIRES};
54 }
55 delete $params{CONFIGURE_REQUIRES} if $eumm_version < 6.52;
56 delete $params{MIN_PERL_VERSION} if $eumm_version < 6.48;
57 delete $params{META_MERGE} if $eumm_version < 6.46;
58 delete $params{META_ADD} if $eumm_version < 6.46;
59 delete $params{LICENSE} if $eumm_version < 6.31;
60 delete $params{AUTHOR} if $] < 5.005;
61 delete $params{ABSTRACT_FROM} if $] < 5.005;
62 delete $params{BINARY_LOCATION} if $] < 5.005;
63
64 WriteMakefile(%params);
65 }
66
Something went wrong with that request. Please try again.