File: Makefile.PL

package info (click to toggle)
libgetopt-euclid-perl 0.4.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 692 kB
  • ctags: 188
  • sloc: perl: 2,410; makefile: 2
file content (44 lines) | stat: -rw-r--r-- 1,246 bytes parent folder | download | duplicates (2)
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
34
35
36
37
38
39
40
41
42
43
44
use strict;
use warnings;
use inc::Module::Install;

# If you updated this file, don't forget to update the Build.PL file as well!

name           'Getopt-Euclid';
all_from       'lib/Getopt/Euclid.pm';

resources
   homepage    'http://search.cpan.org/search?query=Getopt%3A%3AEuclid&mode=dist';
   bugtracker  'https://rt.cpan.org/Public/Dist/Display.html?Name=Getopt-Euclid';
   repository  'git://getopt-euclid.git.sourceforge.net/gitroot/getopt-euclid/getopt-euclid';

# Perl core modules
build_requires 'Test::More'            => 0;
build_requires 'Pod::Checker'          => 0;

requires       'version'               => 0,
requires       'Pod::Select'           => 0;
requires       'Pod::PlainText'        => 0; # uses Pod::Select
requires       'File::Basename'        => 0;
requires       'File::Spec::Functions' => 0;
requires       'List::Util'            => 0;

# CPAN modules
requires       'Text::Balanced'        => 0;

recommends     'IO::Pager::Page'       => 0;

WriteAll;

if ( -e 'MANIFEST.SKIP' ) {
   generate_readme( 'lib/Getopt/Euclid.pm', 'README' ); 
}



sub generate_readme {
   my ($in, $out) = @_;
   `pod2text $in $out`;
   warn "Warning: Could not generate $out.\n$!\n" if $? == -1;
   return $?; # exit status
}