File: Makefile.PL

package info (click to toggle)
libbadger-perl 0.16-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,400 kB
  • sloc: perl: 11,004; makefile: 9
file content (28 lines) | stat: -rw-r--r-- 667 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
use ExtUtils::MakeMaker;

my %opts = (
    'NAME'         => 'Badger',
    'VERSION_FROM' => 'lib/Badger.pm',
    'PMLIBDIRS'    => [ 'lib' ], 
    'dist'         => {
        'COMPRESS' => 'gzip',
        'SUFFIX'   => 'gz',
    },
    'test'         => {
        'TESTS'    => join(' ', glob 't/*/*.t'),
    },
    'META_MERGE'   => {
        'resources' => {
            'repository' => 'https://github.com/abw/Badger',
        },
    },
);

if ($ExtUtils::MakeMaker::VERSION >= 5.43) {
    $opts{ AUTHOR   } = 'Andy Wardley <abw@wardley.org>';
    $opts{ ABSTRACT } = 'Application programming toolkit',
    $opts{ LICENSE  } = 'perl',
}

WriteMakefile( %opts );