5 use ExtUtils::MakeMaker;
7 die 'OS unsupported' unless $^O && $^O eq 'linux';
9 my $dist = 'Linux-SysInfo';
11 (my $name = $dist) =~ s{-}{::}g;
13 (my $file = $dist) =~ s{-}{/}g;
14 $file = "lib/$file.pm";
23 configure_requires => {
24 'ExtUtils::MakeMaker' => 0,
27 'ExtUtils::MakeMaker' => 0,
33 bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
34 homepage => "http://search.cpan.org/dist/$dist/",
35 license => 'http://dev.perl.org/licenses/',
36 repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
42 AUTHOR => 'Vincent Pit <perl@profvince.com>',
44 VERSION_FROM => $file,
45 ABSTRACT_FROM => $file,
47 PREREQ_PM => \%PREREQ_PM,
48 MIN_PERL_VERSION => 5.006,
51 PREOP => "pod2text $file > \$(DISTVNAME)/README",
52 COMPRESS => 'gzip -9f', SUFFIX => 'gz',
55 FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"