Makefile.PL 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. },
  15. PREREQ_PM => {
  16. 'Math::Round' => 0,
  17. 'Carp' => 0,
  18. },
  19. META_MERGE => {
  20. 'meta-spec' => { version => 2 },
  21. resources => {
  22. repository => {
  23. type => 'git',
  24. url => 'https://github.com/paultrost/Disk-SMART-Perl.git',
  25. web => 'https://github.com/paultrost/Disk-SMART-Perl',
  26. },
  27. },
  28. license => ['gpl_2'],
  29. dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
  30. clean => { FILES => 'Disk-SMART-*' },
  31. prereqs => {
  32. runtime => {
  33. requires => {
  34. 'perl' => '5.010',
  35. 'Carp' => 0,
  36. 'Math::Round' => 0,
  37. }
  38. },
  39. test => {
  40. requires => {
  41. 'Test::More' => 0,
  42. }
  43. }
  44. }
  45. }
  46. );