Build.PL 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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::AnyNum',
  8. license => 'artistic_2',
  9. dist_author => q<Daniel Șuteu <trizen@cpan.org>>,
  10. dist_version_from => 'lib/Math/AnyNum.pm',
  11. release_status => 'stable',
  12. dist_abstract => 'Arbitrary size precision for integers, rationals, floating-points and complex numbers.',
  13. configure_requires => {
  14. 'Module::Build' => 0,
  15. },
  16. build_requires => {
  17. 'Test::More' => 0,
  18. },
  19. sign => 1,
  20. dynamic_config => 0,
  21. extra_manify_args => { utf8 => 1 },
  22. meta_merge => {
  23. resources => {
  24. bugtracker => "https://github.com/trizen/Math-AnyNum/issues",
  25. homepage => "https://github.com/trizen/Math-AnyNum",
  26. repository => "https://github.com/trizen/Math-AnyNum",
  27. },
  28. },
  29. requires => {
  30. 'perl' => '5.16.0',
  31. 'Carp' => 0,
  32. 'List::Util' => 0,
  33. 'Math::GMPq' => 0.45,
  34. 'Math::GMPz' => 0.39,
  35. 'Math::MPC' => 1.07,
  36. 'Math::MPFR' => 3.36,
  37. },
  38. add_to_cleanup => ['Math-AnyNum-*'],
  39. create_makefile_pl => 'traditional',
  40. );
  41. $builder->create_build_script();