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