File: Build.PL

package info (click to toggle)
safe-hole-perl 0.14-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 132 kB
  • sloc: perl: 127; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 756 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
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name       => 'Safe::Hole',
    dist_version_from => 'lib/Safe/Hole.pm',
    abstract_from     => 'lib/Safe/Hole.pm',
    dist_abstract     => 'lib/Safe/Hole.pm',
    license           => 'perl',
    build_requires    => {
        'Test::More'    => '0.40',
        'Module::Build' => '0.35',
    },
    add_to_cleanup => [qw(Safe-Hole-* lib/Safe/*.c lib/Safe/*.o)],
    meta_merge     => {
        resources => {
            homepage   => 'http://github.com/toddr/Safe-Hole',
            bugtracker => 'https://github.com/toddr/Safe-Hole/issues',
            repository => 'git://github.com/toddr/Safe-Hole.git',
        }
    }
);

$builder->create_build_script;