File: Build.PL

package info (click to toggle)
libtie-shadowhash-perl 2.01-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 240 kB
  • sloc: perl: 722; makefile: 2
file content (47 lines) | stat: -rw-r--r-- 1,293 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/perl
#
# Build script for Tie::ShadowHash
#
# Copyright 1999, 2010, 2022 Russ Allbery <rra@cpan.org>
#
# SPDX-License-Identifier: GPL-1.0-or-later OR Artistic-1.0-Perl

use 5.024;
use autodie;
use warnings;

use Module::Build;

# Basic package configuration.
#<<<
my $build = Module::Build->new(
    module_name          => 'Tie::ShadowHash',
    dist_author          => 'Russ Allbery <rra@cpan.org>',
    license              => 'perl',
    recursive_test_files => 1,
    add_to_cleanup       => [qw(MANIFEST.bak MYMETA.json.lock cover_db)],

    # Add additional package metadata.
    meta_merge => {
        'meta-spec' => { version => '2' },
        resources   => {
            bugtracker => {
                web => 'https://github.com/rra/shadowhash/issues',
            },
            homepage   => 'https://www.eyrie.org/~eagle/software/shadowhash',
            repository => {
                url  => 'https://github.com/rra/shadowhash.git',
                web  => 'https://github.com/rra/shadowhash',
                type => 'git',
            },
        },
    },

    # Other package relationships.
    configure_requires => { 'Module::Build' => 0.28 },
    requires           => { perl => '5.024' },
);
#>>>

# Generate the build script.
$build->create_build_script;