diff options
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__ |