File: Makefile.PL

package info (click to toggle)
perltidy 20200110-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,624 kB
  • sloc: perl: 23,636; makefile: 4
file content (27 lines) | stat: -rwxr-xr-x 761 bytes parent folder | download | duplicates (2)
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
use ExtUtils::MakeMaker;
WriteMakefile(
    NAME         => "Perl::Tidy",
    VERSION_FROM => "lib/Perl/Tidy.pm",
    (
        $] >= 5.005
        ? (
            ABSTRACT => 'indent and reformat perl scripts',
            LICENSE  => 'gpl_2',
            AUTHOR   => 'Steve Hancock <perltidy@perltidy.sourceforge.net>'
          )
        : ()
    ),

    EXE_FILES  => ['bin/perltidy'],
    dist       => { COMPRESS => 'gzip', SUFFIX => 'gz' },
    META_MERGE => {
        'meta-spec' => { version => 2 },
        resources   => {
            repository => {
                type => 'git',
                url  => 'https://github.com/perltidy/perltidy.git',
                web  => 'https://github.com/perltidy/perltidy',
            },
        },
    },
);