File: Makefile.PL

package info (click to toggle)
libxml-rss-simplegen-perl 11.11-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 280 kB
  • sloc: perl: 1,230; makefile: 4
file content (33 lines) | stat: -rw-r--r-- 797 bytes parent folder | download | duplicates (5)
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
26
27
28
29
30
31
32
33

# Run this program to generate a makefile.  See "perldoc perlmodinstall"
# and "perldoc ExtUtils::MakeMaker" for more details.
#
# Time-stamp: "2004-01-17 21:06:22 AST"

require 5.004;
use strict;
use ExtUtils::MakeMaker;

WriteMakefile(
    'NAME'	       => 'XML::RSS::SimpleGen',
    'VERSION_FROM'  => 'lib/XML/RSS/SimpleGen.pm', # finds $VERSION
    'ABSTRACT_FROM' => 'lib/XML/RSS/SimpleGen.pm',
    'PREREQ_PM'     => {
       'strict' => 0,
       'IO::Socket' => 0,
       'Carp' => 0,
       # It's good in LWP::Simple is installed, but not necessary
    },
    'dist'         => { COMPRESS => 'gzip -6f', SUFFIX => 'gz', },
);

package MY;

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

__END__