File: Build.PL

package info (click to toggle)
libtest-database-perl 1.11-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 236 kB
  • sloc: perl: 594; makefile: 2
file content (31 lines) | stat: -rw-r--r-- 790 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 5.006;
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name         => 'Test::Database',
    license             => 'perl',
    dist_author         => 'Philippe Bruhat (BooK) <book@cpan.org>',
    dist_version_from   => 'lib/Test/Database.pm',
    requires => {
        'DBI'        => 1,
        'File::HomeDir' => 0.50,
        'version'    => 0,
        'YAML::Tiny' => 1.27,
        'File::Spec' => 0,
        'File::Path' => 0,
        'perl'       => 5.006,
    },
    build_requires => {
        'Test::More' => 0,
    },
    meta_merge => {
        resources => {
            repository => 'http://github.com/book/Test-Database',
        },
    },
    add_to_cleanup      => [ 'Test-Database-*' ],
);

$builder->create_build_script();