]> git.vpit.fr Git - perl/modules/Variable-Temp.git/blob - Makefile.PL
This is 0.04
[perl/modules/Variable-Temp.git] / Makefile.PL
1 use 5.006;
2
3 use strict;
4 use warnings;
5 use ExtUtils::MakeMaker;
6
7 my $dist = 'Variable-Temp';
8
9 (my $name = $dist) =~ s{-}{::}g;
10
11 (my $file = $dist) =~ s{-}{/}g;
12 $file = "lib/$file.pm";
13
14 my %PREREQ_PM = (
15  'Exporter'        => 0,
16  'Scope::Upper'    => 0,
17  'Variable::Magic' => '0.51',
18  'base'            => 0,
19 );
20
21 my %BUILD_REQUIRES = (
22  'ExtUtils::MakeMaker' => 0,
23  'Test::More'          => 0,
24  'lib'                 => 0,
25  %PREREQ_PM,
26 );
27
28 my %META = (
29  configure_requires => {
30   'ExtUtils::MakeMaker' => 0,
31  },
32  build_requires => {
33   %BUILD_REQUIRES,
34  },
35  dynamic_config => 0,
36  resources => {
37   bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist",
38   homepage   => "http://search.cpan.org/dist/$dist/",
39   license    => 'http://dev.perl.org/licenses/',
40   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
41  },
42 );
43
44 WriteMakefile(
45  NAME             => $name,
46  AUTHOR           => 'Vincent Pit <perl@profvince.com>',
47  LICENSE          => 'perl',
48  VERSION_FROM     => $file,
49  ABSTRACT_FROM    => $file,
50  PL_FILES         => {},
51  BUILD_REQUIRES   => \%BUILD_REQUIRES,
52  PREREQ_PM        => \%PREREQ_PM,
53  MIN_PERL_VERSION => '5.006',
54  META_MERGE       => \%META,
55  dist             => {
56   PREOP    => "pod2text -u $file > \$(DISTVNAME)/README",
57   COMPRESS => 'gzip -9f', SUFFIX => 'gz'
58  },
59  clean            => {
60   FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
61  },
62 );