File: Makefile.PL

package info (click to toggle)
libhtml-formhandler-model-dbic-perl 0.29-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 640 kB
  • sloc: perl: 1,873; sql: 259; makefile: 8
file content (71 lines) | stat: -rw-r--r-- 1,670 bytes parent folder | download | duplicates (4)
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

use strict;
use warnings;



use ExtUtils::MakeMaker 6.30;



my %WriteMakefileArgs = (
  "ABSTRACT" => "base class that holds DBIC model role",
  "AUTHOR" => "FormHandler Contributors - see HTML::FormHandler",
  "BUILD_REQUIRES" => {},
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => "6.30"
  },
  "DISTNAME" => "HTML-FormHandler-Model-DBIC",
  "EXE_FILES" => [
    "script/form_generator.pl"
  ],
  "LICENSE" => "perl",
  "NAME" => "HTML::FormHandler::Model::DBIC",
  "PREREQ_PM" => {
    "DBIx::Class" => "0.08250",
    "DBIx::Class::ResultSet::RecursiveUpdate" => "0.25",
    "HTML::FormHandler" => "0.40016",
    "Moose" => "2.0007",
    "namespace::autoclean" => "0.09"
  },
  "TEST_REQUIRES" => {
    "DateTime::Format::MySQL" => 0,
    "DateTime::Format::SQLite" => 0,
    "DateTime::Format::W3CDTF" => 0,
    "Test::Exception" => 0,
    "Test::More" => "0.94"
  },
  "VERSION" => "0.29",
  "test" => {
    "TESTS" => "t/*.t t/xt/*.t"
  }
);


my %FallbackPrereqs = (
  "DBIx::Class" => "0.08250",
  "DBIx::Class::ResultSet::RecursiveUpdate" => "0.25",
  "DateTime::Format::MySQL" => 0,
  "DateTime::Format::SQLite" => 0,
  "DateTime::Format::W3CDTF" => 0,
  "HTML::FormHandler" => "0.40016",
  "Moose" => "2.0007",
  "Test::Exception" => 0,
  "Test::More" => "0.94",
  "namespace::autoclean" => "0.09"
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };

WriteMakefile(%WriteMakefileArgs);