File: Makefile.PL

package info (click to toggle)
libextutils-xsbuilder-perl 0.28-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 240 kB
  • ctags: 223
  • sloc: perl: 2,836; makefile: 50
file content (28 lines) | stat: -rwxr-xr-x 708 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
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    'NAME'	=> 'ExtUtils::XSBuilder',
    'VERSION_FROM' => 'XSBuilder.pm', 
	'AUTHOR' => 'Gerald Richter <richter@dev.ecos.de>',
	'ABSTRACT' => 'Automatic XS glue code generation',
    'PREREQ_PM'    => { 'Parse::RecDescent' => 0, 'Tie::IxHash' => 0 },

);


# Debian hacks
package MY;

sub libscan {
  $_[1] !~ /xsbuilder\.osc2002/ and shift->SUPER::libscan(@_);
}

sub post_initialize {
  my $self = shift;

  # The pod in this file isn't a manpage..
  delete $self->{MAN3PODS}{'XSBuilder/PODTemplate.pm'};

  return $self->SUPER::post_initialize(@_);
}