File: Makefile.PL

package info (click to toggle)
libhtml-treebuilder-xpath-perl 0.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 108 kB
  • sloc: perl: 507; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 747 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use 5.006;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

(my $EUMM= $ExtUtils::MakeMaker::VERSION)=~ tr/_//d;
my @license = $EUMM > 6.30 ? qw(LICENSE perl) : ();

WriteMakefile(
    NAME              => 'HTML::TreeBuilder::XPath',
    VERSION_FROM      => 'lib/HTML/TreeBuilder/XPath.pm', # finds $VERSION
    PREREQ_PM         => { XML::XPathEngine => 0.12, HTML::TreeBuilder => 0, List::Util => 0 },
    @license,
    ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
      (ABSTRACT_FROM  => 'lib/HTML/TreeBuilder/XPath.pm', # retrieve abstract from module
       AUTHOR         => 'Michel Rodriguez <mrodrigu@localdomain>') : ()),
);