]> git.vpit.fr Git - perl/modules/Thread-Cleanup.git/blob - Makefile.PL
d54e1e08d1ff9dfd03ad7fad5c7799c8463c083a
[perl/modules/Thread-Cleanup.git] / Makefile.PL
1 use 5.008;
2
3 use strict;
4 use warnings;
5 use ExtUtils::MakeMaker;
6
7 my $dist = 'Thread-Cleanup';
8
9 my %PREREQ_PM = (
10  'XSLoader' => 0,
11  'threads'  => '1.07',
12 );
13
14 my %META = (
15  configure_requires => {
16   'ExtUtils::MakeMaker' => 0,
17  },
18  build_requires => {
19   'ExtUtils::MakeMaker' => 0,
20   'Test::More'          => 0,
21   'threads::shared'     => '0.91',
22   %PREREQ_PM,
23  },
24  dynamic_config => 0,
25  resources => {
26   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
27   homepage   => "http://search.cpan.org/dist/$dist/",
28   license    => 'http://dev.perl.org/licenses/',
29   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
30  },
31 );
32
33 WriteMakefile(
34     NAME             => 'Thread::Cleanup',
35     AUTHOR           => 'Vincent Pit <perl@profvince.com>',
36     LICENSE          => 'perl',
37     VERSION_FROM     => 'lib/Thread/Cleanup.pm',
38     ABSTRACT_FROM    => 'lib/Thread/Cleanup.pm',
39     PL_FILES         => {},
40     PREREQ_PM        => \%PREREQ_PM,
41     MIN_PERL_VERSION => 5.008,
42     META_MERGE       => \%META,
43     dist             => {
44         PREOP    => 'pod2text lib/Thread/Cleanup.pm > $(DISTVNAME)/README',
45         COMPRESS => 'gzip -9f', SUFFIX => 'gz'
46     },
47     clean            => {
48         FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
49     }
50 );