The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

use strict;
my $mod_name = 'Map::Tube::Stuttgart';
my $mod_file = 'lib/' . $mod_name . '.pm';
$mod_file =~ s|::|/|g;
my $mod_distname = $mod_name;
$mod_distname =~ s|::|-|g;
my $mod_version = MM->parse_version($mod_file);
install_share dist => 'share';
WriteMakefile(
NAME => $mod_name,
AUTHOR => q{Gisbert W. Selke <gws@cpan.org>},
VERSION_FROM => $mod_file,
ABSTRACT_FROM => $mod_file,
LICENSE => 'artistic_2',
PL_FILES => { },
MIN_PERL_VERSION => 5.012,
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => 6.64,
'File::ShareDir::Install' => 0,
},
TEST_REQUIRES => { 'Test::More' => 0.82,
},
PREREQ_PM => {
'Moo' => 0,
'namespace::clean' => 0,
'File::Share' => 0,
'Map::Tube' => 4.01,
},
( MM->can('signature_target') ? ( SIGN => 1 ) : ( ) ),
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => $mod_distname . '-*', },
META_MERGE => {
'meta-spec' => { version => 2 },
dynamic_config => 0,
prereqs => {
test => {
recommends => {
'Test::Map::Tube' => 0,
'Test::Kwalitee' => 0,
'XML::Twig' => 0,
'Graph' => 0,
},
},
},
provides => {
$mod_name => {
file => $mod_file,
version => $mod_version,
},
},
resources => {
bugtracker => { mailto => 'bug-' . $mod_distname . '@rt.cpan.org', },
},
},
);
package MY;
use File::ShareDir::Install 'postamble';