File: Makefile.PL

package info (click to toggle)
libtext-simpletable-perl 2.07-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 152 kB
  • sloc: perl: 493; makefile: 7
file content (57 lines) | stat: -rw-r--r-- 1,822 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env perl

# Copyright (C) 2005-2010, Sebastian Riedel.

use strict;
use warnings;

use ExtUtils::MakeMaker;

my $mm = $ExtUtils::MakeMaker::VERSION;

# Son, when you participate in sporting events,
# it's not whether you win or lose, it's how drunk you get.
WriteMakefile(
    NAME         => 'Text::SimpleTable',
    VERSION_FROM => 'lib/Text/SimpleTable.pm',
    ABSTRACT     => 'Simple eyecandy ASCII tables',
    AUTHOR       => 'Sebastian Riedel <sri@cpan.org>',

    ($mm < 6.3002 ? () : ('LICENSE' => 'artistic_2')),

    (   $mm < 6.46
        ? ()
        : ( META_MERGE => {
                dynamic_config => 0,
                'meta-spec' => {version => 2},
                no_index => {directory => [qw/t/]},
                prereqs => {
                    runtime => {
                        requires => {
                            perl => '5.008001'
                        },
                        recommends => {
                            'Unicode::LineBreak' => 0,
                            'Text::VisualWidth::UTF8' => 0,
                            'Text::VisualWidth::PP' => 0,
                        },
                    }
                },
                resources => {
                    license => ['http://www.opensource.org/licenses/artistic-license-2.0'],
                    repository => {
                        type => 'git',
                        url => 'http://github.com/marcusramberg/text-simpletable.git',
                        web => 'http://github.com/marcusramberg/text-simpletable',
                    },
                },
            },
            META_ADD => {
                build_requires     => {},
                configure_requires => {}
            },
        )
    ),

    PREREQ_PM => {'ExtUtils::MakeMaker' => 0, 'Test::More' => 0}
);