File: configure

package info (click to toggle)
libclass-methodmaker-perl 2.25-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 524 kB
  • sloc: perl: 1,849; objc: 492; makefile: 3
file content (20 lines) | stat: -rwxr-xr-x 356 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/perl -w

# Pragma ------------------------------

use 5.006;
use strict;

# Utility -----------------------------

use Getopt::Long          2.19 qw( GetOptions );

my $prefix;
GetOptions('prefix=s' => \$prefix,)
  or die "Options parsing failed";

my @cmd = ($^X => 'Makefile.PL');
push @cmd, "PREFIX=$prefix"
  if defined $prefix;

exec @cmd;