diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..9ae56a0 --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,22 @@ +use 5.010001; + +use strict; +use warnings; + +use ExtUtils::MakeMaker; + +my ($mm) = $ExtUtils::MakeMaker::VERSION =~ /^([^_]+)/; + +WriteMakefile( + NAME => 'lynis_report', + VERSION_FROM => 'lynis_report.pl', + ABSTRACT => 'Because lynis needs a transportable report sometimes.', + AUTHOR => 'Charlie Heselton ', + + ($mm < 6.3002 ? () : ('LICENSE' => 'artistic_2')), + + PREREQ_PM => { + 'HTML::HTMLDoc' => 0, + 'Excel::Writer::XLSX' => 0, + }, +);