File: Build.PL

package info (click to toggle)
graphite2 1.2.4-3
  • links: PTS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 40,732 kB
  • sloc: cpp: 15,469; cs: 1,994; ansic: 1,486; python: 1,016; perl: 184; sh: 101; makefile: 51
file content (19 lines) | stat: -rw-r--r-- 615 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name         => 'Text::Gr2',
    license             => 'Perl',
    dist_author         => 'Simon Cozens <simon@cpan.org>',
    dist_version_from   => 'lib/Text/Gr2.pm',
    extra_compiler_flags => $^O ne 'MSWin32' ? '-Wall -Wno-unused-variable' : '',
    extra_linker_flags  => $^O eq 'MSWin32' ? '../../build/src/graphite2.lib' : '-lgraphite2',
    include_dirs        => ['.', '../include'],
    requires => {
        'Test::More' => 0,
    },
    add_to_cleanup      => [ 'Gr2-*' ],
);

$builder->create_build_script();