Archive-SCS
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
path('Changes')->slurp_raw =~ m/^\Q$main_module_version\E\s/m
or die "$main_module version ($main_module_version) is not in Changes";
WriteMakefile(
ExtUtils::CppGuess->new->makemaker_options,
ABSTRACT => 'Read the contents of SCS union mount archives (HashFS)',
AUTHOR => 'nautofon <nautofon@cpan.org>',
EXE_FILES => [
'script/scs_archive',
],
INC => '-Iinc',
LICENSE => 'perl_5',
MAGICXS => 1,
META_MERGE => {
'dynamic_config' => 0,
'meta-spec' => {
version => 2,
},
'provides' => \%provides,
'release_status' => 'stable',
'resources' => {
homepage => 'https://forum.scssoft.com/viewtopic.php?t=330746',
repository => {
type => 'git',
url => 'git://github.com/nautofon/Archive-SCS.git',
web => 'https://github.com/nautofon/Archive-SCS',
},
},
'x_contributors' => [
'Karen Etheridge <ether@cpan.org>',
],
},
NAME => $main_module,
NO_MYMETA => 1,
VERSION => $main_module_version,
XSMULTI => 1,
XSOPT => '-C++',
dist => {
TARFLAGS => '--format=ustar -c -v -f', # avoid PaxHeader in tarball
},
realclean => {
FILES => 'MANIFEST MANIFEST.bak fatlib fatpacker.*',
},
test => {
RECURSIVE_TEST_FILES => 1,
},
);
package MY;
sub distdir {
my $fatpack = <<~END;
fatlib/fatpack :
#\t\$(NOECHO) fatpack trace Makefile.PL
\t\$(NOECHO) \$(ECHO) 'ExtUtils/CppGuess.pm' > fatpacker.trace
\tfatpack packlists-for `cat fatpacker.trace` > fatpacker.packlists
\tfatpack tree `cat fatpacker.packlists`
\t\$(NOECHO) grep fatlib MANIFEST > /dev/null || find fatlib -name *.pm >> MANIFEST
\t\$(NOECHO) \$(TOUCH) fatlib/fatpack
END
shift->SUPER::distdir(@_) =~ s{create_distdir :.*}{$fatpack$& fatlib/fatpack}r
}
( run in 0.973 second using v1.01-cache-2.11-cpan-3c2a17b8caa )