File: Build.PL

package info (click to toggle)
libtime-format-perl 1.12-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 288 kB
  • ctags: 40
  • sloc: perl: 534; makefile: 4
file content (38 lines) | stat: -rwxr-xr-x 1,220 bytes parent folder | download
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
use strict;
use warnings;

eval {require Module::Build};
if ($@)
{
    warn "Module::Build is required for Build.PL\n";
    exit 0;
}


my $builder = Module::Build->new(
    module_name        => 'Time::Format',
    license            => 'unrestricted',
    dist_author        => 'Eric J. Roode <roode@cpan.org>',
    dist_version_from  => 'lib/Time/Format.pm',
    configure_requires => {
                           'Module::Build'    => '0.4',
                          },
    build_requires     => {
                          'Test::Simple'      => '0.40',
                         },
    requires           => {
                          'Time::Local'       => '1.07',
                         },
    recommends         => {
                          'I18N::Langinfo'    => 0,
                          'POSIX'             => 0,
                          'Time::HiRes'       => 0,
                          'DateTime'          => 0,
                          'Date::Manip'       => 0,
                          'Module::Signature' => 0,
                         },
    sign               => 1,
    add_to_cleanup     => [ 'Time-Format-*' ],
);

$builder->create_build_script();