summaryrefslogtreecommitdiff
path: root/dist/I18N-LangTags/Makefile.PL
blob: bd951c76cd9b604ad3cac3ca006a9a5c0fceb221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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__