Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 66 lines (54 sloc) 2.209 kB
0707818 @szabgab 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 @szabgab 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 @xsawyerx 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
3997abc comment about HTTP::Body version
Alexis Sukrieh authored
26 'HTTP::Body' => '1.07', # needed for cleanup()
5f02e58 HTTP::Server::Simple::PSGI dependency update: 0.11
Alexis Sukrieh authored
27 'HTTP::Server::Simple::PSGI' => '0.11',
c1479fc MIME::Types is not in core, changed Makefile.PL accordingly
Alexis Sukrieh authored
28 'MIME::Types' => '0',
3997abc comment about HTTP::Body version
Alexis Sukrieh authored
29 'URI' => '0',
c1479fc MIME::Types is not in core, changed Makefile.PL accordingly
Alexis Sukrieh authored
30
820d89a REAMDE update + Makefile.PL deps update
Alexis Sukrieh authored
31 # core
3aa98df merge kappa charset support patch
Alexis Sukrieh authored
32 'File::Basename' => '0',
33 'File::Spec' => '0',
34 'Encode' => '0',
1287520 Dancer::Timer depends hardly on Time::HiRes (which is core since Perl…
Alexis Sukrieh authored
35 'Time::HiRes' => '0', # in core since 5.7
b3d5b31 first version of Makefile.PL
Alexis Sukrieh authored
36 },
b3c8b5f Makefile.PL upgrade (add a clean rule)
Alexis Sukrieh authored
37
38 test => {TESTS => join( ' ', (glob( 't/*.t'), glob('t/*/*.t')))},
39 clean => {FILES => "t/lib/sessions/*.yml logs/*.log t/*/logs/*" }
40
b3d5b31 first version of Makefile.PL
Alexis Sukrieh authored
41 );
1404a83 @cpanservice Upgrade Makefile.PL
cpanservice authored
42
43 sub WriteMakefile1 { #Written by Alexandr Ciornii, version 0.21. Added by eumm-upgrade.
44 my %params=@_;
45 my $eumm_version=$ExtUtils::MakeMaker::VERSION;
46 $eumm_version=eval $eumm_version;
47 die "EXTRA_META is deprecated" if exists $params{EXTRA_META};
48 die "License not specified" if not exists $params{LICENSE};
49 if ($params{BUILD_REQUIRES} and $eumm_version < 6.5503) {
50 #EUMM 6.5502 has problems with BUILD_REQUIRES
51 $params{PREREQ_PM}={ %{$params{PREREQ_PM} || {}} , %{$params{BUILD_REQUIRES}} };
52 delete $params{BUILD_REQUIRES};
53 }
54 delete $params{CONFIGURE_REQUIRES} if $eumm_version < 6.52;
55 delete $params{MIN_PERL_VERSION} if $eumm_version < 6.48;
56 delete $params{META_MERGE} if $eumm_version < 6.46;
57 delete $params{META_ADD} if $eumm_version < 6.46;
58 delete $params{LICENSE} if $eumm_version < 6.31;
59 delete $params{AUTHOR} if $] < 5.005;
60 delete $params{ABSTRACT_FROM} if $] < 5.005;
61 delete $params{BINARY_LOCATION} if $] < 5.005;
62
63 WriteMakefile(%params);
64 }
65
Something went wrong with that request. Please try again.