File: Makefile.PL

package info (click to toggle)
libxml-feedpp-perl 0.41-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 364 kB
  • ctags: 174
  • sloc: perl: 1,821; sh: 28; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use ExtUtils::MakeMaker;
use strict;

my $opt = {
    NAME                => 'XML-FeedPP',
    VERSION_FROM        => 'lib/XML/FeedPP.pm',
    PREREQ_PM           => {
        'Test::More'        => '0',
        'XML::TreePP'       => '0.39',
    },
};

my $mm = $ExtUtils::MakeMaker::VERSION;
$mm =~ s/[^\d\.]+//g;
$opt->{LICENSE} = 'perl' if ( $mm >= 6.3001 );

WriteMakefile( %$opt );