5 use ExtUtils::MakeMaker;
7 my $dist = 'LaTeX-TikZ';
9 (my $name = $dist) =~ s{-}{::}g;
11 (my $file = $dist) =~ s{-}{/}g;
12 $file = "lib/$file.pm";
19 'Mouse' => '0.80', # register_type_constraint + type constraint bug
26 my %BUILD_REQUIRES = (
27 'ExtUtils::MakeMaker' => 0,
34 configure_requires => {
35 'ExtUtils::MakeMaker' => 0,
42 bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist",
43 homepage => "http://search.cpan.org/dist/$dist/",
44 license => 'http://dev.perl.org/licenses/',
45 repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
51 AUTHOR => 'Vincent Pit <perl@profvince.com>',
53 VERSION_FROM => $file,
54 ABSTRACT_FROM => $file,
56 BUILD_REQUIRES => \%BUILD_REQUIRES,
57 PREREQ_PM => \%PREREQ_PM,
58 MIN_PERL_VERSION => '5.008',
61 PREOP => "pod2text -u $file > \$(DISTVNAME)/README",
62 COMPRESS => 'gzip -9f', SUFFIX => 'gz'
65 FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"