Source

Docmake / modules / App-XML-DocBook-Docmake / Build.PL

Full commit
use strict;
use warnings;

use File::Spec;
use lib File::Spec->catdir(File::Spec->curdir(), "inc");

use Test::Run::Builder;

my $builder = Test::Run::Builder->new(
    module_name         => 'App::XML::DocBook::Builder',
    license             => 'mit',
    dist_author         => 'Shlomi Fish <shlomif@cpan.org>',
    dist_version_from   => 'lib/App/XML/DocBook/Builder.pm',
    configure_requires =>
    {
        'Module::Build' => 0.36,
    },
    build_requires => {
        'Test::More' => 0,
        'Test::Trap' => 0,
    },
    requires => {
        'Class::Accessor' => 0,
        'File::Path' => 0,
        'File::Spec' => 0,
        'Getopt::Long' => '2.37',
        'Pod::Usage' => 0,
        'strict' => 0,
        'warnings' => 0,
    },
    add_to_cleanup      => [ 'App::XML::DocBook::Builder-*' ],
    script_files => [ "script/docmake" ],
    create_makefile_pl => 'traditional',
    meta_merge =>
    {
        resources =>
        {
            repository => "http://bitbucket.org/shlomif/docmake",
            homepage => "http://www.shlomifish.org/open-source/projects/docmake/",
        },
        keywords =>
        [
            "automation",
            "convert",
            "docbook",
            "html",
            "pdf",
            "postscript",
            "script",
            "scripts",
            "sgml",
            "xhtml",
            "xml",
            "xsl-fo",
            "xslt",
        ],
    },
);

$builder->create_build_script();