File: Build.PL

package info (click to toggle)
libnet-whois-raw-perl 1.52-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 148 kB
  • ctags: 35
  • sloc: perl: 1,533; makefile: 39
file content (32 lines) | stat: -rwxr-xr-x 614 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
32
#!/usr/bin/perl -w
use strict;
use Module::Build;

my $build = Module::Build->new(
    module_name => 'Net::Whois::Raw',
    license  => 'perl',
    requires => {
	'IO::Socket' => 1.0,
	'URI::URL' => 0,
	'LWP::UserAgent' => 0,
	'HTTP::Request' => 0,
	'HTTP::Headers' => 0,
    },
    create_makefile_pl => 'traditional',
    script_files => 'pwhois',
);

$build->create_build_script;

# IS IT NECESSARY? (see belowe)
#
#sub MY::postamble {
#        package MY;
#        shift->SUPER::postamble . <<'MAKE';
#dist : README
#
#README : lib/Net/Whois/Raw.pm
#	@$(PERL) -MPod::Text -e "pod2text('$<');" > $@
#
#MAKE
#}