File: Makefile.PL

package info (click to toggle)
foomatic-db-engine 4.0.13-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,176 kB
  • sloc: perl: 12,170; ansic: 6,958; python: 1,139; makefile: 248; sh: 215; xml: 83
file content (16 lines) | stat: -rw-r--r-- 444 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/perl

use ExtUtils::MakeMaker;

use Config;

my $rx = qr/^install(archlib|bin|man\ddir|privlib|script|sitearch|sitelib)/;

my %config = ( NAME => 'Foomatic',
	       AUTHOR => 'Grant Taylor <gtaylor+pht@picante.com>',
	       ABSTRACT => 'Foomatic printer configuration library code' );

$config{PREFIX} = "$ENV{PERLPREFIX}";
$config{PREFIX} = "$ENV{INSTALLPREFIX}$ENV{PERLPREFIX}" if $ENV{INSTALLPREFIX};

WriteMakefile( %config);