~ubuntu-branches/ubuntu/oneiric/libxml-tokeparser-perl/oneiric

« back to all changes in this revision

Viewing changes to Makefile.PL

  • Committer: Bazaar Package Importer
  • Author(s): Nathan Scott
  • Date: 2010-10-03 11:00:36 UTC
  • Revision ID: james.westby@ubuntu.com-20101003110036-s82cygco63wsfqp9
Tags: upstream-0.05
ImportĀ upstreamĀ versionĀ 0.05

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
use ExtUtils::MakeMaker;
 
2
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
 
3
# the contents of the Makefile that is written.
 
4
my $file = 'TokeParser.pm';
 
5
WriteMakefile(
 
6
    'NAME'      => 'XML::TokeParser',
 
7
    'VERSION_FROM'      => $file,
 
8
    'PREREQ_PM'         => {
 
9
        'XML::Parser' => 2,
 
10
    },
 
11
    ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
 
12
      (ABSTRACT_FROM => $file, # retrieve abstract from module
 
13
       AUTHOR     => 'D.H. aka PodMaster'
 
14
       ) : ()),
 
15
);