diff options
author | Yves Orton <demerphq@gmail.com> | 2023-03-01 12:21:19 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-03-02 18:53:16 +0800 |
commit | c42e4076f0ddf7f481421fd570805daaac2f0946 (patch) | |
tree | bfd3afcdebc108ba11ea506aa5b180e68d96592b /dist | |
parent | 3cae8eb1db142433616d4df6c72f9274a2099735 (diff) | |
download | perl-c42e4076f0ddf7f481421fd570805daaac2f0946.tar.gz |
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
Diffstat (limited to 'dist')
-rw-r--r-- | dist/I18N-LangTags/.gitignore | 1 | ||||
-rw-r--r-- | dist/I18N-LangTags/Makefile.PL | 27 |
2 files changed, 28 insertions, 0 deletions
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__ |