summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2023-03-01 12:21:19 +0100
committerYves Orton <demerphq@gmail.com>2023-03-02 18:53:16 +0800
commitc42e4076f0ddf7f481421fd570805daaac2f0946 (patch)
treebfd3afcdebc108ba11ea506aa5b180e68d96592b
parent3cae8eb1db142433616d4df6c72f9274a2099735 (diff)
downloadperl-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
-rw-r--r--MANIFEST3
-rw-r--r--dist/I18N-LangTags/.gitignore1
-rw-r--r--dist/I18N-LangTags/Makefile.PL27
3 files changed, 30 insertions, 1 deletions
diff --git a/MANIFEST b/MANIFEST
index ab64786928..4f3a9f4fc8 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -3788,10 +3788,11 @@ dist/FindBin/lib/FindBin.pm Find name of currently executing program
dist/FindBin/t/FindBin.t See if FindBin works
dist/I18N-Collate/lib/I18N/Collate.pm Routines to do strxfrm-based collation
dist/I18N-Collate/t/I18N-Collate.t See if I18N::Collate works
-dist/I18N-LangTags/ChangeLog I18N::LangTags
+dist/I18N-LangTags/ChangeLog I18N::LangTags change history
dist/I18N-LangTags/lib/I18N/LangTags.pm I18N::LangTags
dist/I18N-LangTags/lib/I18N/LangTags/Detect.pm Detect language preferences
dist/I18N-LangTags/lib/I18N/LangTags/List.pm List of tags for human languages
+dist/I18N-LangTags/Makefile.PL Build I18N::LangTags
dist/I18N-LangTags/README I18N::LangTags
dist/I18N-LangTags/t/01_about_verbose.t See whether I18N::LangTags works
dist/I18N-LangTags/t/05_main.t See whether I18N::LangTags works
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__