File: Build.PL

package info (click to toggle)
libpod-latex-perl 0.61-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 164 kB
  • sloc: perl: 1,125; sh: 9; makefile: 2
file content (38 lines) | stat: -rw-r--r-- 1,082 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
33
34
35
36
37
38
#!perl

use strict;
use warnings;
use Module::Build;
use File::Spec;

my $path = File::Spec->catfile( "lib", "Pod", "LaTeX.pm" );

# Set it up.
my $build = Module::Build->new
  (
   module_name => 'Pod::LaTeX',
   license  => 'perl',
   dist_author => 'Tim Jenness <tjenness@cpan.org>',
   version_from => $path,
   abstract_from => $path,
   meta_merge => {
               resources =>  {repository => "git://github.com/timj/perl-Pod-LaTeX.git",
                              homepage => "http://github.com/timj/perl-Pod-LaTeX/tree/master",
                             },
                },
   requires => {
                'Pod::Find'  => 0,
                'Pod::Parser' => 0,
                'Pod::ParseUtils' => 0.30,
                'Pod::Select' => 0,
                'if' => 0,
               },
   PL_files => { 'pod2latex.PL' => 'pod2latex' },
   script_files => [ 'pod2latex' ],
   build_requires => {
                      'Test::More' => 0,
                     },
   installdirs => ( $] > 5.006 and $] <= 5.012 ? "core" : "site" ),
  );

$build->create_build_script;