Build.PL 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. use utf8;
  2. use 5.006;
  3. use strict;
  4. use warnings FATAL => 'all';
  5. use Module::Build;
  6. my $builder = Module::Build->new(
  7. module_name => 'Sidef',
  8. license => 'artistic_2',
  9. dist_author => [
  10. q{Daniel Șuteu (<trizen@protonmail.com>)},
  11. q{Ioana Fălcușan (<ioanaflavia@gmail.com>)},
  12. ],
  13. dist_version_from => 'lib/Sidef.pm',
  14. dist_abstract => 'The Sidef Programming Language',
  15. release_status => 'stable',
  16. configure_requires => {
  17. 'Module::Build' => 0,
  18. },
  19. build_requires => {
  20. 'Test::More' => 0,
  21. },
  22. extra_manify_args => { utf8 => 1 },
  23. meta_merge => {
  24. resources => {
  25. bugtracker => "https://github.com/trizen/sidef/issues",
  26. homepage => "https://github.com/trizen/sidef",
  27. repository => "https://github.com/trizen/sidef",
  28. },
  29. },
  30. requires => {
  31. 'perl' => '5.18.0',
  32. 'utf8' => 0,
  33. 'parent' => 0,
  34. 'Memoize' => 0,
  35. 'Cwd' => 0,
  36. 'File::Spec' => 0,
  37. 'File::Path' => 0,
  38. 'File::Copy' => 0,
  39. 'File::Basename' => 0,
  40. 'List::Util' => 1.33,
  41. 'Math::MPFR' => 3.36,
  42. 'Math::MPC' => 0,
  43. 'Math::GMPq' => 0.45,
  44. 'Math::GMPz' => 0.39,
  45. 'Socket' => 0,
  46. 'Fcntl' => 0,
  47. 'Encode' => 0,
  48. 'Scalar::Util' => 0,
  49. 'Time::HiRes' => 0,
  50. 'Getopt::Std' => 0,
  51. 'Term::ReadLine' => 0,
  52. 'Math::Prime::Util::GMP' => 0.44,
  53. 'Algorithm::Combinatorics' => 0,
  54. 'Algorithm::Loops' => 0,
  55. },
  56. recommends => {
  57. 'File::Find' => 0, # `sidef -c`
  58. 'Digest::MD5' => 0, # File.md5(), Str.md5()
  59. 'Digest::SHA' => 0, # File.sha*(), Str.sha*()
  60. 'MIME::Base64' => 0, # Str.encode_base64(), Str.decode_base64()
  61. 'Data::Dump' => 0, # `sidef -D`
  62. 'Data::Dump::Filtered' => 0, # Block.ffork()
  63. 'Math::Prime::Util' => 0.73, # used in some Number methods, if available
  64. },
  65. add_to_cleanup => ['Sidef-*'],
  66. create_makefile_pl => 'traditional',
  67. );
  68. $builder->create_build_script();