From c42e4076f0ddf7f481421fd570805daaac2f0946 Mon Sep 17 00:00:00 2001 From: Yves Orton Date: Wed, 1 Mar 2023 12:21:19 +0100 Subject: dist/I18N-LangTags - Add Makefile.PL from CPAN For some reason the CPAN module is not properly indexed. It is https://metacpan.org/release/SBURKE/I18N-LangTags-0.35. This fixes this module for https://github.com/Perl/perl5/issues/20874 --- dist/I18N-LangTags/.gitignore | 1 + dist/I18N-LangTags/Makefile.PL | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 dist/I18N-LangTags/.gitignore create mode 100644 dist/I18N-LangTags/Makefile.PL (limited to 'dist') diff --git a/dist/I18N-LangTags/.gitignore b/dist/I18N-LangTags/.gitignore new file mode 100644 index 0000000000..e54624d60d --- /dev/null +++ b/dist/I18N-LangTags/.gitignore @@ -0,0 +1 @@ +!/Makefile.PL diff --git a/dist/I18N-LangTags/Makefile.PL b/dist/I18N-LangTags/Makefile.PL new file mode 100644 index 0000000000..bd951c76cd --- /dev/null +++ b/dist/I18N-LangTags/Makefile.PL @@ -0,0 +1,27 @@ +use ExtUtils::MakeMaker; +# See lib/ExtUtils/MakeMaker.pm for details of how to influence +# the contents of the Makefile that is written. + +WriteMakefile( + 'NAME' => 'I18N::LangTags', + 'VERSION_FROM' => 'lib/I18N/LangTags.pm', # finds $VERSION + 'ABSTRACT_FROM' => 'lib/I18N/LangTags.pm', # + 'dist' => { COMPRESS => 'gzip -6f', SUFFIX => 'gz', }, + 'PREREQ_PM' => { + $^O =~ m/Win32/i ? ( + 'Win32::Locale' => 0.01, + ) : (), + }, + 'INSTALLDIRS' => ( $] < 5.011 ? 'perl' : 'site' ), +); + +package MY; + +sub libscan +{ # Determine things that should *not* be installed + my($self, $path) = @_; + return '' if $path =~ m/~/; + $path; +} + +__END__ -- cgit v1.2.1