File: Makefile.PL

package info (click to toggle)
libxml-feedpp-perl 0.34-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 292 kB
  • ctags: 174
  • sloc: perl: 1,712; makefile: 42; sh: 28
file content (19 lines) | stat: -rwxr-xr-x 459 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use ExtUtils::MakeMaker;
use strict;

my $opt = {
    NAME                => 'XML-FeedPP',
    VERSION_FROM        => 'lib/XML/FeedPP.pm',
    PREREQ_PM           => {
        'Test::More'        => '0',
        'XML::TreePP'       => '0.33',
#       'LWP::UserAgent'    => '0',
#       'HTTP::Lite'        => '0'
    },
};

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

WriteMakefile( %$opt );