]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/blob - Makefile.PL
Initial commit
[perl/modules/LaTeX-TikZ.git] / Makefile.PL
1 use 5.006;
2
3 use strict;
4 use warnings;
5 use ExtUtils::MakeMaker;
6
7 my $dist = 'LaTeX-TikZ';
8
9 (my $name = $dist) =~ s{-}{::}g;
10
11 (my $file = $dist) =~ s{-}{/}g;
12 $file = "lib/$file.pm";
13
14 my %PREREQ_PM = (
15  'Any::Moose'   => 0,
16  'Carp'         => 0,
17  'List::Util'   => 0,
18  'Scope::Guard' => 0,
19  'Sub::Name'    => 0,
20  'constant'     => 0,
21 );
22
23 my %META = (
24  configure_requires => {
25   'ExtUtils::MakeMaker' => 0,
26  },
27  build_requires => {
28   'ExtUtils::MakeMaker' => 0,
29   'Test::More'          => 0,
30   %PREREQ_PM,
31  },
32  dynamic_config => 0,
33  resources => {
34   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
35   homepage   => "http://search.cpan.org/dist/$dist/",
36   license    => 'http://dev.perl.org/licenses/',
37   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
38  },
39 );
40
41 WriteMakefile(
42  NAME             => $name,
43  AUTHOR           => 'Vincent Pit <perl@profvince.com>',
44  LICENSE          => 'perl',
45  VERSION_FROM     => $file,
46  ABSTRACT_FROM    => $file,
47  PL_FILES         => {},
48  PREREQ_PM        => \%PREREQ_PM,
49  MIN_PERL_VERSION => 5.006,
50  META_MERGE       => \%META,
51  dist             => {
52   PREOP    => "pod2text $file > \$(DISTVNAME)/README",
53   COMPRESS => 'gzip -9f', SUFFIX => 'gz'
54  },
55  clean            => {
56   FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
57  }
58 );