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
|
#!/usr/bin/perl
#
# Build script for Pod::Thread distribution.
#
# Copyright 2002, 2013, 2021 Russ Allbery <rra@cpan.org>
#
# SPDX-License-Identifier: MIT
use 5.008;
use strict;
use warnings;
use Module::Build;
# Basic package configuration.
#<<<
my $build = Module::Build->new(
module_name => 'Pod::Thread',
dist_author => 'Russ Allbery <rra@cpan.org>',
license => 'mit',
recursive_test_files => 1,
# Add additional package metadata.
meta_merge => {
'meta-spec' => { version => '2' },
resources => {
bugtracker => {
web => 'https://github.com/rra/pod-thread/issues',
},
homepage => 'https://www.eyrie.org/~eagle/software/pod-thread/',
repository => {
url => 'https://github.com/rra/pod-thread.git',
web => 'https://github.com/rra/pod-thread',
type => 'git',
},
},
},
# Other package relationships.
configure_requires => { 'Module::Build' => 0.28 },
test_requires => { 'Perl6::Slurp' => 0 },
requires => {
'Pod::Simple' => '3.06',
perl => '5.024',
},
);
#>>>
# Generate the build script.
$build->create_build_script;
|