X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=Makefile.PL;h=16fc048d4708323bbcff91d57fc3ff5202cd3c07;hb=HEAD;hp=6831d2896e726cf722ac9e91a5c2d5f9e2e2ba31;hpb=237e950667eebb2a48da037136a4a73044e6ada8;p=html-element-library.git diff --git a/Makefile.PL b/Makefile.PL index 6831d28..16fc048 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,55 +1,40 @@ -use 5.006001; use ExtUtils::MakeMaker; -# See lib/ExtUtils/MakeMaker.pm for details of how to influence -# the contents of the Makefile that is written. -WriteMakefile - ( - NAME => 'HTML::Element::Library', - VERSION_FROM => 'lib/HTML/Element/Library.pm', # finds $VERSION - PREREQ_PM => - { - Array::Group => 1.00, - - Moose => 0, - File::Slurp => 9999.06, - - HTML::FillInForm => 0, - HTML::PrettyPrinter => 0.03, - HTML::Tree => 3.19, - - List::Rotation::Cycle => 1.003, - List::MoreUtils => 0.09, - - Params::Validate => 0.80, - - Scalar::Listify => 0.02, - }, - ($] >= 5.005 ? ## Add these new keywords supported since 5.005 - ( - - AUTHOR => 'Terrence Brannon ') : ()), - ); - -sub MY::postamble { q{ - -cleandist: FORCE - make again; make cleanmanifest; make docs; make dist - -again: FORCE - make clean; perl Makefile.PL; make pm_to_blib - -cleanmanifest: realclean FORCE - rm MANIFEST ; perl Makefile.PL; touch MANIFEST; make manifest - -%.t: pm_to_blib FORCE - make; perl -Iblib/lib $@ - -docs : README CHANGES - -README: lib/HTML/Element/Library.pm - pod2text lib/HTML/Element/Library.pm > README - -CHANGES: lib/HTML/Element/Library/Changes.pod - pod2text lib/HTML/Element/Library/Changes.pod > CHANGES - -}; } +use strict; +use warnings; + +WriteMakefile( + NAME => 'HTML::Element::Library', + VERSION_FROM => 'lib/HTML/Element/Library.pm', + ABSTRACT_FROM => 'lib/HTML/Element/Library.pm', + AUTHOR => [ + 'Terrence Brannon ', + 'Marius Gavrilescu ' + ], + MIN_PERL_VERSION => '5.6.0', + LICENSE => 'perl', + SIGN => 1, + BUILD_REQUIRES => { + qw/File::Slurp 0 + HTML::PrettyPrinter 0 + HTML::TreeBuilder 0 + Test::More 0 + Test::XML 0/, + }, + PREREQ_PM => { + qw/Array::Group 0 + Data::Rmap 0 + HTML::Element 0 + HTML::FillInForm 0 + List::MoreUtils 0 + List::Rotation::Cycle 0 + List::Util 0 + Params::Validate 0 + Scalar::Listify 0/, + }, + META_MERGE => { + dynamic_config => 0, + resources => { + repository => 'https://git.ieval.ro/?p=html-element-library.git', + }, + } +);