File: Makefile.PL

package info (click to toggle)
libpalm-perl 1%3A1.012-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 404 kB
  • ctags: 116
  • sloc: perl: 3,260; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 745 bytes parent folder | download
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
use ExtUtils::MakeMaker;

require 5.006;

eval "use Test::Manifest 1.21";

my @classes = qw( 
	Address Datebook DateTime Mail 
	Memo PDB Raw StdAppInfo ToDo 
	ZirePhoto
	);

WriteMakefile(
    'NAME'			=> 'Palm',
	'ABSTRACT'		=> 'Module for handling PalmOS databases',
    'VERSION_FROM'  => 'lib/Palm.pm',
    'LICENSE'       => 'perl',
    'DISTNAME'		=> 'p5-Palm',	# More descriptive than just "Palm"
	'AUTHOR'        => 'brian d foy <bdfoy@cpan.org>',
	
	'PREREQ_PM'		=> {
		'Test::More'	=> '0',
		},

	'PM'           => {
		'lib/Palm.pm' => '$(INST_LIBDIR)/Palm.pm',
		map { ( "lib/$_.pm", "\$(INST_LIBDIR)/Palm/$_.pm" ) } @classes
		},

    'EXE_FILES'		=> [ 'examples/pdbdump' ],

	clean  => { FILES    => q|*.bak p5-* t/Test.pdb| },

);