Build.PL 1.3 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::Sidef',
  8. license => 'artistic_2',
  9. dist_author => q<Daniel Șuteu <trizen@cpan.org>>,
  10. dist_version_from => 'lib/Math/Sidef.pm',
  11. release_status => 'stable',
  12. sign => 1,
  13. dynamic_config => 0,
  14. extra_manify_args => { utf8 => 1 },
  15. configure_requires => {
  16. 'Module::Build' => 0,
  17. },
  18. build_requires => {
  19. 'Test::More' => 0,
  20. },
  21. meta_merge => {
  22. resources => {
  23. bugtracker => "https://github.com/trizen/Math-Sidef/issues",
  24. homepage => "https://github.com/trizen/Math-Sidef",
  25. repository => "https://github.com/trizen/Math-Sidef",
  26. },
  27. },
  28. requires => {
  29. 'perl' => '5.16.0',
  30. 'Sidef' => '3.99',
  31. 'Math::AnyNum' => '0.36',
  32. 'Exporter' => '0',
  33. },
  34. add_to_cleanup => ['Math-Sidef-*'],
  35. create_makefile_pl => 'traditional',
  36. );
  37. $builder->create_build_script();