File: Makefile.PL

package info (click to toggle)
libhtml-tree-perl 3.19.01-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 464 kB
  • ctags: 144
  • sloc: perl: 3,260; makefile: 40
file content (31 lines) | stat: -rw-r--r-- 788 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
26
27
28
29
30
31
require 5.004;
use ExtUtils::MakeMaker;
# Time-stamp: "2003-09-15 01:50:36 ADT"

WriteMakefile(
    'NAME'	   => 'HTML-Tree',
    'VERSION_FROM' => 'lib/HTML/Tree.pm', # finds $VERSION
    'PREREQ_PM'    => {	
	                 'HTML::Parser' => 2.19,   # at LEAST!
	                 'HTML::Tagset' => 3.02,
		      },
    'AUTHOR' => 'Sean M. Burke (sburke@cpan.org)',
    'ABSTRACT' => 'build and scan parse-trees of HTML',

    'dist'           => { COMPRESS => 'gzip -6f', SUFFIX => 'gz', },
);


package MY;

# This could probably be tossed in favor of the ExtUtils::MakeMaker default
sub libscan
{ # Determine things that should *not* be installed
    my($self, $path) = @_;
    return '' if $path =~ m/~/;
    return '' if $path =~ /(?:RCS|CVS|SCCS|\.svn)/;
    $path;

}

__END__