/[gentoo-perl]/g-cpan/trunk/Makefile.PL
Gentoo

Contents of /g-cpan/trunk/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 74 - (show annotations) (download) (as text)
Tue Jun 6 00:31:09 2006 UTC (8 years, 2 months ago) by mcummings
File MIME type: text/x-perl
File size: 1305 byte(s)
Bug 134781 - RDEPEND=DEPEND line in generated ebuilds


1 use 5.008008;
2 use ExtUtils::MakeMaker;
3
4 my @programs_to_install = qw ( g-cpan );
5 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
6 # the contents of the Makefile that is written.
7 WriteMakefile(
8 NAME => 'g-cpan',
9 VERSION_FROM => 'bin/g-cpan', # finds $VERSION
10 EXE_FILES => [ map "bin/$_", @programs_to_install ],
11 PREREQ_PM => {
12 'File::Basename' => 0,
13 'File::Copy' => 0,
14 'File::Find' => 0,
15 'File::Path' => 0,
16 'File::Spec' => 0,
17 'IO::File' => 0,
18 'Term::ANSIColor' => 0,
19 'Test::More' => 0,
20 'YAML' => 0,
21 'YAML::Node' => 0,
22
23 }, # e.g., Module::Name => 1.1
24 ($] >= 5.005 ? ## Add these new keywords supported since 5.005
25 (ABSTRACT => 'Install modules from CPAN in a portage friendly way',
26 AUTHOR => 'Michael Cummings <mcummings@gentoo.org>') : ()),
27 LIBS => [''], # e.g., '-lm'
28 DEFINE => '', # e.g., '-DHAVE_SOMETHING'
29 INC => '-I.', # e.g., '-I. -I/usr/include/other'
30 );
31
32 # PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'lib')" t/*.t

  ViewVC Help
Powered by ViewVC 1.1.20