File: Build.PL

package info (click to toggle)
libcatmandu-fix-cmd-perl 0.0201-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 132 kB
  • sloc: perl: 56; java: 15; ansic: 15; lisp: 8; makefile: 8; python: 6
file content (31 lines) | stat: -rw-r--r-- 752 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
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name => 'Catmandu::Fix::cmd',
    license => 'perl',
    dist_author => [
        'Nicolas Steenlant <nicolas.steenlant@ugent.be>'
    ],
    dist_version_from => 'lib/Catmandu/Fix/cmd.pm',
    build_requires => {
        'Software::License' => 0,
        'Test::Exception' => 0,
        'Test::More' => 0,
    },
    requires => {
        'perl' => '5.10.1',
        'Catmandu' => '0.1',
        'IO::Pty::Easy' => '0.09',
        'JSON::XS' => '2.3',
        'namespace::clean' => '0.24',
    },
    add_to_cleanup => [qw(
        Catmandu-Fix-cmd-*
    )],
    create_makefile_pl => 'traditional',
    create_license => 1,
);

$builder->create_build_script;