From: Nicholas Clark Date: Fri, 18 Sep 2009 15:08:19 +0000 (+0100) Subject: 82dee7de92a0bd35 failed to add ext/lib/Makefile.PL. Oops. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=978463b2c6a3c34cabcf3e18bb7d2e41abf7f9ef;p=p5sagit%2Fp5-mst-13.2.git 82dee7de92a0bd35 failed to add ext/lib/Makefile.PL. Oops. --- diff --git a/ext/lib/Makefile.PL b/ext/lib/Makefile.PL new file mode 100644 index 0000000..1f80b02 --- /dev/null +++ b/ext/lib/Makefile.PL @@ -0,0 +1,49 @@ +## This -*- perl -*- script writes the Makefile for lib.pm +# You should read "perldoc perlmodinstall" for instructions on +# how to install modules like this. + +require 5.006_001; +use strict; +use ExtUtils::MakeMaker; + +my $lib_version = '0.62'; + +my $extra_meta = <<"EMETA"; +provides: + lib: + file: lib_pm.PL + version: $lib_version +EMETA + +my $extra_meta_hash = { + provides => { + lib => { file => 'lib_pm.PL', + version => $lib_version, }, + }, +}; + +my $mm_version = $ExtUtils::MakeMaker::VERSION; + +WriteMakefile( + 'NAME' => 'lib', + 'VERSION' => $lib_version, + 'LICENSE' => 'perl', + 'PREREQ_PM' => {}, + 'ABSTRACT_FROM' => 'lib_pm.PL', + 'AUTHOR' => 'Steffen Mueller ', + 'INSTALLDIRS' => 'perl', + 'PL_FILES' => {'lib_pm.PL' => 'lib.pm'}, + 'PM' => {'lib.pm' => '$(INST_LIBDIR)/lib.pm'}, + 'clean' => {FILES => 'lib.pm'}, + ( + $mm_version >= 6.46 + ? (META_ADD => $extra_meta_hash) + : ( + $mm_version >= 6.3002 + ? (EXTRA_META => $extra_meta) + : () + ) + ), +); + +