File: Build.PL

package info (click to toggle)
libpod-2-docbook-perl 0.03-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 684 kB
  • sloc: perl: 1,779; xml: 168; makefile: 58
file content (41 lines) | stat: -rw-r--r-- 1,142 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name         => 'Pod::2::DocBook',
    license             => 'perl',
    dist_author         => 'Jozef Kutej <jkutej@cpan.org>',
    dist_version_from   => 'lib/Pod/2/DocBook.pm',
    requires => {
        'Digest::MD5'      => 0,
        'Pod::Parser'      => 0,
        'Pod::ParseLink'   => 0,
        'Text::ParseWords' => 0,
        'Text::Wrap'       => 0,
        'List::MoreUtils'  => 0,
        'CPAN::Version'    => 0,
    },
    build_requires => {
        'Test::More'  => 0,
        'XML::LibXML' => 0,
    },
    script_files => [
        'pod2docbook',
    ],
    
    add_to_cleanup      => [ 'Pod-2-DocBook-*', 't/*.out' ],
    create_makefile_pl  => 'traditional',
    create_readme       => 1,
    sign                => 1,
    meta_merge => {
        resources => {
            repository => 'git://github.com/jozef/pod-2-docbook.git',
            bugtracker =>
            'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Pod-2-DocBook',
        },
        keywords => [ qw/ pod docbook / ],
    },
);

$builder->create_build_script();