Build.PL 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. use utf8;
  2. use 5.006;
  3. use strict;
  4. use warnings;
  5. use Module::Build;
  6. my $builder = Module::Build->new(
  7. module_name => 'Math::GComplex',
  8. license => 'artistic_2',
  9. dist_author => q<Daniel Șuteu <trizen@cpan.org>>,
  10. dist_version_from => 'lib/Math/GComplex.pm',
  11. release_status => 'stable',
  12. sign => 1,
  13. dynamic_config => 0,
  14. extra_manify_args => { utf8 => 1 },
  15. meta_merge => {
  16. resources => {
  17. bugtracker => "https://github.com/trizen/Math-GComplex/issues",
  18. homepage => "https://github.com/trizen/Math-GComplex",
  19. repository => "https://github.com/trizen/Math-GComplex",
  20. },
  21. },
  22. configure_requires => {
  23. 'Module::Build' => '0',
  24. },
  25. build_requires => {
  26. 'Test::More' => '0',
  27. },
  28. requires => {
  29. perl => '5.010',
  30. },
  31. recommends => {
  32. 'Math::AnyNum' => '0.20',
  33. },
  34. add_to_cleanup => [ 'Math-GComplex-*' ],
  35. create_makefile_pl => 'traditional',
  36. );
  37. $builder->create_build_script();