X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=dev%2Farm%2Flibwww-mechanize-perl%2Flibwww-mechanize-perl-1.34%2FMakefile.PL;fp=dev%2Farm%2Flibwww-mechanize-perl%2Flibwww-mechanize-perl-1.34%2FMakefile.PL;h=da145aeb59cb38e6e1247ba2ba0b3f49accb8794;hb=f477fa73365d491991707e7ed9217b48d6994551;hp=0000000000000000000000000000000000000000;hpb=da95c414033799c3a62606f299c3c00b5c77ca11;p=dh-make-perl diff --git a/dev/arm/libwww-mechanize-perl/libwww-mechanize-perl-1.34/Makefile.PL b/dev/arm/libwww-mechanize-perl/libwww-mechanize-perl-1.34/Makefile.PL new file mode 100644 index 0000000..da145ae --- /dev/null +++ b/dev/arm/libwww-mechanize-perl/libwww-mechanize-perl-1.34/Makefile.PL @@ -0,0 +1,117 @@ +package main; + +require 5.006001; + +use strict; +use warnings; +use ExtUtils::MakeMaker qw( WriteMakefile ); +use File::Spec; +use Getopt::Long; + +my $live = 1; +my $local = 1; +GetOptions( + 'live!' => \$live, + 'local!' => \$local, + 'all' => sub { print "All tests are on by default. This option is deprecated.\n" }, + 'mech-dump!' => sub { print "mech-dump is always installed now. This option is deprecated.\n" }, +); + +my @tests = glob File::Spec->catfile( 't', '*.t' ); +push( @tests, glob File::Spec->catfile( 't', 'local', '*.t' ) ) if $local; +push( @tests, glob File::Spec->catfile( 't', 'live', '*.t' ) ) if $live; +push( @tests, glob File::Spec->catfile( 't', 'mech-dump', '*.t' ) ); + +my $parms = { + NAME => 'WWW::Mechanize', + VERSION_FROM => 'lib/WWW/Mechanize.pm', # finds $VERSION + ABSTRACT_FROM => 'lib/WWW/Mechanize.pm', # retrieve abstract from module + AUTHOR => 'Andy Lester ', + EXE_FILES => [ 'bin/mech-dump' ], + PREREQ_PM => { + 'Carp' => 0, + 'File::Temp' => 0, + 'FindBin' => 0, + 'Getopt::Long' => 0, + 'HTML::Form' => 1.038, + 'HTML::HeadParser' => 0, + 'HTML::Parser' => 3.33, + 'HTML::TokeParser' => 2.28, + 'HTTP::Daemon' => 0, + 'HTTP::Request' => 1.30, + 'HTTP::Status' => 0, + 'LWP' => 5.802, + 'LWP::UserAgent' => 2.024, + 'Pod::Usage' => 0, + 'Test::More' => 0.34, + 'URI' => 1.25, + 'URI::URL' => 0, + 'URI::file' => 0, + }, + test => { TESTS => join( ' ', @tests ) }, + clean => { FILES => 'WWW-Mechanize-*' }, +}; + +if ( $ExtUtils::MakeMaker::VERSION eq '6.36' ) { + $parms->{EXTRA_META} = <