File: Makefile.PL

package info (click to toggle)
libtime-duration-perl 1.02-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge
  • size: 80 kB
  • ctags: 28
  • sloc: perl: 148; makefile: 50
file content (25 lines) | stat: -rw-r--r-- 638 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# This -*- perl -*- script writes the Makefile for Time::Duration
# Time-stamp: "2002-08-27 20:19:26 MDT"
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
require 5.004;
use strict;
use ExtUtils::MakeMaker;

WriteMakefile(
    'NAME'	=> 'Time::Duration',
    'VERSION_FROM' => 'Duration.pm', # finds $VERSION
    'ABSTRACT_FROM' => 'Duration.pm',
    'dist'        => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
);

package MY;

sub libscan
{ # Determine things that should *not* be installed
    my($self, $path) = @_;
    return '' if $path =~ m/~/;
    $path;
}

__END__