* docs/running.pod:
[parrot.git] / Makefile.PL
blob986af99ad38eccdf735060239614591d20952493
1 #! perl
3 # Copyright (c) 2007, The Perl Foundation.
4 # $Id$
6 =head1 NAME
8 Makefile.PL - CPAN installer passthrough to configure Parrot
10 =head1 DESCRIPTION
12 This file exists only to allow users of a CPAN shell to configure and build
13 Parrot.  If you're reading this yourself, use F<Configure.pl>
15 =cut
17 my %translations =
19     INSTALL_BASE => 'prefix',
20     LIB          => 'lib',
21     PREFIX       => 'prefix',
24 my @commands;
26 for my $arg (@ARGV)
28     my ($name, $value) = split /=/, $arg, 2;
29     next unless exists $translations{ $name };
30     push @commands, "--$name=$value";
33 system( $^X, 'Configure.pl', @commands );