MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/3/root/proc/self/root/installd/perl588installer/Scalar-List-Utils-1.19/Makefile.PL
# -*- perl -*-

use inc::Module::Install;

my $do_xs = can_cc();

for (@ARGV) {
  /^-pm/ and $do_xs = 0;
  /^-xs/ and $do_xs = 1;
}

name		('Scalar-List-Utils');
module_name	('List::Util');
abstract	('Common Scalar and List utility subroutines');
author		('Graham Barr <gbarr@cpan.org>');
version_from	('lib/List/Util.pm');
license		('perl');

makemaker_args	( XS => {}, C => []) unless $do_xs;
makemaker_args	( DEFINE      => "-DPERL_EXT",);

installdirs	(qw(Scalar::Util List::Util));

check_nmake();      # check and download nmake.exe for Win32

requires( perl => 5.004);
include_deps('Test::More');

&Makefile->write;
&Meta->write;

## - - - - - - - -

sub MY::post_constants {
  return '' if $] >= 5.006_01;

  return <<'POST_CONST' if $^O eq 'MSWin32';

XSUBPPARGS = $(XSUBPPARGS) -typemap mytypemap

POST_CONST

  return <<'POST_CONST';

XSUBPPARGS +=  -typemap mytypemap

POST_CONST

}

sub MY::postamble {
  return <<'POSTAMBLE';

mydist : manifest run_cpansign dist

run_cpansign :
	cpansign -s

POSTAMBLE

}