[go: up one dir, main page]

File: Makefile.PL

package info (click to toggle)
libgetargs-long-perl 0.1.3-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 120 kB
  • ctags: 15
  • sloc: perl: 617; makefile: 44
file content (53 lines) | stat: -rw-r--r-- 1,391 bytes parent folder | download | duplicates (2)
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
42
43
44
45
46
47
48
49
50
51
52
53
#
# $Id: Makefile.PL,v 0.1.1.2 2001/03/20 10:33:58 ram Exp $
#
#  Copyright (c) 2000-2001, Raphael Manfredi
#  
#  You may redistribute only under the terms of the Artistic License,
#  as specified in the README file that comes with the distribution.
#
# HISTORY
# $Log: Makefile.PL,v $
# Revision 0.1.1.2  2001/03/20 10:33:58  ram
# patch3: added warning about interface change
#
# Revision 0.1.1.1  2001/03/15 00:13:33  ram
# patch2: added warning when using perl 5.6.0
#
# Revision 0.1  2001/03/01 18:37:19  ram
# Baseline for first alpha release.
#
# $EndLog$
#

use ExtUtils::MakeMaker;

print <<EOM if $] eq "5.006";

*************************************************
* Will raise a bug in Perl 5.6.0 -- see REAMDE  *
*************************************************

EOM

eval "require Getargs::Long";
print <<EOM if $@ eq "" && $Getargs::Long::VERSION < 0.103;

********************************************************
* WARNING: The interface changed at 0.1.3              *
*          You will need to update your client modules *
********************************************************

EOM

WriteMakefile(
    'NAME'	=> 'Getargs::Long',
    'VERSION_FROM' => 'Long.pm', # finds $VERSION
	'PREREQ_PM' => {
		'Log::Agent'		=> '0.105',
	},
    'LIBS'	=> [''],		# e.g., '-lm' 
    'DEFINE'	=> '',		# e.g., '-DHAVE_SOMETHING' 
    'INC'	=> '',			# e.g., '-I/usr/include/other' 
);