Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 46 lines (32 sloc) 0.8 kb
6d7e2d1 @chromatic r1846@waterwheel: chromatic | 2007-02-17 13:06:25 -0800
chromatic authored
1 #! perl
2
a354c84 @allisonrandal [cage] Top-level copyright statment updates.
allisonrandal authored
3 # Copyright (C) 2007-2008, Parrot Foundation.
6d7e2d1 @chromatic r1846@waterwheel: chromatic | 2007-02-17 13:06:25 -0800
chromatic authored
4 # $Id$
5
6 =head1 NAME
7
8 Makefile.PL - CPAN installer passthrough to configure Parrot
9
10 =head1 DESCRIPTION
11
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>
14
15 =cut
16
5e4bb06 @chromatic [codingstd] Added strict to Makefile.PL. Excluded NQP blue_rect.pl e…
chromatic authored
17 use strict;
18 use warnings;
19
dc40427 @coke [codingstd] require version in a way that avoids a complaint from per…
coke authored
20 BEGIN { require 5.008 }
d2cb687 @chromatic [Makefile] Revised 5.8.0 requirement to work with Perl versions befor…
chromatic authored
21
6d7e2d1 @chromatic r1846@waterwheel: chromatic | 2007-02-17 13:06:25 -0800
chromatic authored
22 my %translations =
23 (
24 INSTALL_BASE => 'prefix',
25 LIB => 'lib',
26 PREFIX => 'prefix',
27 );
28
29 my @commands;
30
31 for my $arg (@ARGV)
32 {
33 my ($name, $value) = split /=/, $arg, 2;
34 next unless exists $translations{ $name };
35 push @commands, "--$name=$value";
36 }
37
38 system( $^X, 'Configure.pl', @commands );
d9fb719 @chromatic [codingstd] Added Perl code coda.
chromatic authored
39
40 # Local Variables:
41 # mode: cperl
42 # cperl-indent-level: 4
43 # fill-column: 100
44 # End:
45 # vim: expandtab shiftwidth=4:
Something went wrong with that request. Please try again.