]> git.vpit.fr Git - perl/modules/Linux-SysInfo.git/blob - Makefile.PL
Perl 5.6 is required
[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  resources => {
20   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
21   homepage   => "http://search.cpan.org/dist/$dist/",
22   license    => 'http://dev.perl.org/licenses/',
23   repository => "http://git.profvince.com/perl/modules/$dist.git",
24  },
25 );
26
27 WriteMakefile(
28     NAME             => 'Linux::SysInfo',
29     AUTHOR           => 'Vincent Pit <perl@profvince.com>',
30     LICENSE          => 'perl',
31     VERSION_FROM     => 'lib/Linux/SysInfo.pm',
32     ABSTRACT_FROM    => 'lib/Linux/SysInfo.pm',
33     PL_FILES         => {},
34     PREREQ_PM        => {
35         'Exporter' => 0,
36         'XSLoader' => 0,
37     },
38     MIN_PERL_VERSION => 5.006,
39     META_MERGE       => \%META,
40     dist             => {
41         PREOP    => 'pod2text lib/Linux/SysInfo.pm > $(DISTVNAME)/README',
42         COMPRESS => 'gzip -9f', SUFFIX => 'gz',
43     },
44     clean            => {
45         FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
46     },
47 );