File: Makefile.PL

package info (click to toggle)
libalgorithm-combinatorics-perl 0.27-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch
  • size: 216 kB
  • ctags: 36
  • sloc: perl: 399; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 652 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use strict;
use warnings;
use ExtUtils::MakeMaker;

# I copied this trick from Text::CSV_XS's Makefile.PL.
my $def = '';
$def .= '-Wall' if $ENV{"__RUNNING_IN_FXN_LAPTOP"};

WriteMakefile(
    NAME          => 'Algorithm::Combinatorics',
    AUTHOR        => 'Xavier Noria <FXN@cpan.org>',
    VERSION_FROM  => 'Combinatorics.pm',
    ABSTRACT_FROM => 'Combinatorics.pm',
    PREREQ_PM => {
        'XSLoader'     => 0,
        'FindBin'      => 0,
        'Test::More'   => 0,
        'Scalar::Util' => 0,
    },
    DEFINE => $def,
    dist   => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean  => { FILES => 'Algorithm-Combinatorics-*' },
);