DBIx-Custom / Build.PL /
Newer Older
25 lines | 0.641kb
packaging one directory
yuki-kimoto authored on 2009-11-16
1
use strict;
2
use warnings;
3
use Module::Build;
4

            
5
my $builder = Module::Build->new(
6
    module_name         => 'DBIx::Custom',
7
    license             => 'perl',
8
    dist_author         => 'Yuki Kimoto <kimoto.yuki@gmail.com>',
9
    dist_version_from   => 'lib/DBIx/Custom.pm',
10
    build_requires => {
11
        'Test::More' => 0,
12
    },
13
    recommends => {
14
        'DBD::SQLite' => 1.25,
15
        'Time::Piece' => 1.15
16
    },
17
    requires => {
18
        'Object::Simple' => 2.0702,
19
        'DBI'            => 1.605,
20
    },
21
    add_to_cleanup      => [ 'DBIx-Custom-*' ],
22
    create_makefile_pl => 'traditional',
23
);
24

            
25
$builder->create_build_script();