Makefile.PL 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. use 5.010;
  2. use strict;
  3. use warnings;
  4. use ExtUtils::MakeMaker;
  5. WriteMakefile(
  6. NAME => 'Disk::SMART',
  7. AUTHOR => 'Paul Trost <ptrost@cpan.org>',
  8. VERSION_FROM => 'lib/Disk/SMART.pm',
  9. MIN_PERL_VERSION => '5.010',
  10. ABSTRACT_FROM => 'lib/Disk/SMART.pm',
  11. PL_FILES => {},
  12. TEST_REQUIRES => {
  13. 'Test::More' => 0,
  14. 'Test::Fatal' => 0,
  15. },
  16. PREREQ_PM => {
  17. 'Math::Round' => 0,
  18. 'Carp' => 0,
  19. },
  20. META_MERGE => {
  21. 'meta-spec' => { version => 2 },
  22. resources => {
  23. repository => {
  24. type => 'git',
  25. url => 'https://github.com/paultrost/Disk-SMART-Perl.git',
  26. web => 'https://github.com/paultrost/Disk-SMART-Perl',
  27. },
  28. },
  29. license => ['gpl_2'],
  30. dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
  31. clean => { FILES => 'Disk-SMART-*' },
  32. prereqs => {
  33. runtime => {
  34. requires => {
  35. 'perl' => '5.010',
  36. 'Carp' => 0,
  37. 'Math::Round' => 0,
  38. }
  39. },
  40. test => {
  41. requires => {
  42. 'Test::More' => 0,
  43. 'Test::Fatal' => 0,
  44. }
  45. }
  46. }
  47. }
  48. );