File: Makefile.PL

package info (click to toggle)
libterm-choose-linefold-xs-perl 0.004-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 232 kB
  • sloc: ansic: 2,318; perl: 10; makefile: 3
file content (50 lines) | stat: -rw-r--r-- 1,342 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
use 5.16.0;
use warnings;
use strict;
use ExtUtils::MakeMaker;

my $define = $ENV{TC_AMBIGUOUS_WIDTH_IS_WIDE} ? '-DAMBIGUOUS_WIDTH_IS_WIDE' : '';


WriteMakefile(
    MIN_PERL_VERSION => '5.16.0',
    LICENSE => 'perl',
    META_MERGE => {
        'meta-spec' => { version => 2 },
        resources   => {
            bugtracker => {
                web => "https://github.com/kuerbis/Term-Choose-LineFold-XS/issues",
            },
            repository => {
              type => 'git',
              web  => 'https://github.com/kuerbis/Term-Choose-LineFold-XS',
              url  => 'https://github.com/kuerbis/Term-Choose-LineFold-XS.git',
            },
        },
    },
    AUTHOR         => 'Matthaeus Kiem <cuer2s@gmail.com>',
    NAME           => 'Term::Choose::LineFold::XS',
    ABSTRACT_FROM  => 'lib/Term/Choose/LineFold/XS.pm',
    VERSION_FROM   => 'lib/Term/Choose/LineFold/XS.pm',
    BUILD_REQUIRES => {
        'Test::More' => 0,
        'open'       => 0,
    },
    PREREQ_PM => {
        'strict'   => 0,
        'warnings' => 0,
        'Exporter' => 0,
        'XSLoader' => 0,
    },
    LIBS  => [''],
    DEFINE => $define,
    INC    => '-I.',
    XS => {
        'XS.xs' => 'XS.c'
    },
    dist  => {
        COMPRESS => 'gzip',
        SUFFIX   => '.gz',
        TARFLAGS => '--format=gnu -cvf',
    },
);