File: Makefile.PL

package info (click to toggle)
libtest-hasversion-perl 0.014-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 176 kB
  • ctags: 8
  • sloc: perl: 154; makefile: 2
file content (37 lines) | stat: -rw-r--r-- 944 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

use ExtUtils::MakeMaker;

my $EUMM_VERSION = eval $ExtUtils::MakeMaker::VERSION;

WriteMakefile(
    NAME         => 'Test::HasVersion',
    VERSION_FROM => 'HasVersion.pm',
    PREREQ_PM    => {
        'Test::Builder'       => 0,
        'ExtUtils::MakeMaker' => 0,
        'File::Find'          => 0,

        # required for testing
        'Test::More'            => 0,
        'Test::Builder::Tester' => 1.04,
        'File::Spec'            => 0,
    },
    EXE_FILES => ['bin/test_version'],

    ($] >= 5.005 ? (
            ABSTRACT_FROM => 'HasVersion.pm',
            AUTHOR        => 'Adriano R. Ferreira <ferreira@cpan.org>'
    ) : ()),
    ($EUMM_VERSION >= 6.30_01 ? (
            LICENSE => 'perl',
    ) : ()),
    ($EUMM_VERSION > 6.4501 ? (
            META_MERGE => {
                resources => {
                    repository => 'http://github.com/aferreira/cpan-Test-HasVersion',
		}
            },
    ) : ()),

);