File: Makefile.PL

package info (click to toggle)
libarchive-ar-perl 2.02-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 160 kB
  • ctags: 36
  • sloc: perl: 421; makefile: 2
file content (41 lines) | stat: -rw-r--r-- 826 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
39
40
41
use ExtUtils::MakeMaker;

WriteMakefile(
	'NAME'		=> 'Archive::Ar',
	'VERSION_FROM'	=> 'lib/Archive/Ar.pm', # finds $VERSION
	'PREREQ_PM'	=>
		{ 
			'Test::More' => '0',
			'Test::MockObject' => '0',
			'File::Spec' => '0',
			'File::Temp' => '0',
		},

	'dist'		=> 
		{
			COMPRESS => 'gzip -9',
			SUFFIX   => '.gz',
			DIST_DEFAULT => 'all tardist',
		},

	($] >= 5.005 ?    ## Add these new keywords supported since 5.005
		(
			ABSTRACT_FROM	=> 'lib/Archive/Ar.pm', # retrieve abstract from module
			AUTHOR     	=> 'Jay Bonci <jay@bonci.com>') 
		: ()),

	META_MERGE	=>
		{
			'meta-spec' => { version => 2 },
			resources =>
				{
					repository =>
						{
							type => 'git',
							url  => 'https://github.com/jbazik/Archive-Ar.git',
							web  => 'https://github.com/jbazik/Archive-Ar',
						},
				},
		},
);