File: Makefile.PL

package info (click to toggle)
libnet-dns-async-perl 1.07-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 80 kB
  • sloc: perl: 146; makefile: 4
file content (32 lines) | stat: -rw-r--r-- 586 bytes parent folder | download | duplicates (3)
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
use 5.006;
use ExtUtils::MakeMaker;

WriteMakefile(
    'NAME'		=> 'Net::DNS::Async',
    'VERSION_FROM'	=> 'lib/Net/DNS/Async.pm',
    'PREREQ_PM'		=> {
				'Test::More'	=> 0,
				'Net::DNS'		=> 0,
				'IO::Select'	=> 0,
				'Storable'		=> 0,
			},
	ABSTRACT_FROM => 'lib/Net/DNS/Async.pm',
	AUTHOR     => 'Shevek <cpan@anarres.org>',
);

sub MY::postamble {
	my $self = shift;
	my $old = $self->MM::postamble(@_);
	chomp($old);
	my $new = <<'EON';

.PHONY : aux readme

aux : readme

readme : lib/Net/DNS/Async.pm
	perldoc -t lib/Net/DNS/Async.pm > README

EON
	return $old . $new;
}