Algorithm-BinarySearch-Vec
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
##-- install these
#EXE_FILES => [glob("*.perl")],
##-- DEBUG
#MAKEAPERL=>1,
##LINKTYPE=>'static',
#MAP_TARGET=>'ucperl',
##INCLUDE_EXT=>[qw(Encode DynaLoader Exporter)], ##-- ??? doesn't work ???
#CCFLAGS=>'-g',
##-- /DEBUG
##-- stuff that probably doesn't need to be changed
#XSOPT => '-C++',
#TYPEMAPS => ['perlobject.map', 'typemap'],
##-- prerequisites
#MIN_PERL_VERSION => '5.8.0', ##-- perl 5.6 chokes with "Can't declare another package's variables at t/01_ini.t line 22."
PREREQ_PM => {
#'Module' => $version,
'Test::More' => 0,
},
);
#-----------------------------------------------------------------------
# Extensions
#-----------------------------------------------------------------------
##---------------------------------------------------------------
sub MY::constants {
package MY;
my $inherited = shift->SUPER::constants(@_);
return $inherited;
}
##---------------------------------------------------------------
sub MY::depend {
package MY;
my $inherited = shift->SUPER::depend(@_);
$inherited .= (
###-- depends -> README.txt
"\n\n"
.join('',
map {
"$_: README.txt\n\n"
} qw(dist create_distdir distdir_am distcheck))
);
return $inherited;
}
##---------------------------------------------------------------
sub MY::special_targets {
package MY;
my $inherited = shift->SUPER::special_targets(@_);
$inherited .=
"
.SUFFIXES: .pm .pod .rpod .man .txt .html
.pm.html:
\tpod2html --css=\$(CSS) --infile=\$< --outfile=\$@
.pm.txt:
\tpod2text \$< \$@
.pod.html:
\tpod2html --css=\$(CSS) --infile=\$< --outfile=\$@
.pod.txt:
\tpod2text \$< \$@
.rpod.html:
\tpod2html --css=\$(CSS) --infile=\$< --outfile=\$@
.rpod.txt:
\tpod2text \$< \$@
";
return $inherited;
}
##---------------------------------------------------------------
sub MY::postamble {
package MY;
my $inherited = shift->SUPER::postamble(@_);
return $inherited;
}
( run in 0.458 second using v1.01-cache-2.11-cpan-e1769b4cff6 )