File: Build.PL

package info (click to toggle)
libobject-id-perl 0.1.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 192 kB
  • sloc: perl: 289; makefile: 2
file content (58 lines) | stat: -rw-r--r-- 1,268 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/perl -w

use 5.008_008;

use strict;
use lib 'inc';

use MyBuilder;

my $builder = MyBuilder->new(
    module_name => 'Object::ID',
    license     => 'perl',
    dist_author => 'Michael G Schwern <schwern@pobox.com>',

    no_index => {
        package => [
            "UNIVERSAL"
        ],
    },

    meta_merge  => {
        resources => {
            repository =>
              'http://github.com/schwern/Object-ID',
        },

        keywords => [ 'id', 'identifier', 'universal', 'object' ],

        configure_requires => {
            'Module::Build'     => '0.340201'     # what shipped with 5.10.1
        },
    },

    build_requires      => {
        'Test::More'        => '0.88',    # for done_testing
        version             => '0.77',
    },

    requires             => {
        perl                    => '5.8.8',
        "Sub::Name"             => '0.03',
        'Hash::FieldHash'       => '0.10',
    },

    auto_features => {
        object_uuid     => {
            description => "Unique object idenifier using UUIDs",
            requires    => {
                "Data::UUID" => '1.010408'
            }
        }
    },

    create_license      => 1,
    create_readme       => 1,
);

$builder->create_build_script();