File: Makefile.PL

package info (click to toggle)
libset-object-perl 1.25-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 460 kB
  • ctags: 706
  • sloc: perl: 1,015; makefile: 50
file content (24 lines) | stat: -rw-r--r-- 908 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
use ExtUtils::MakeMaker;

unless (eval { require Test::More; 1 }) {
	print STDERR "*** Test::More is not installed, you will not be able to run the tests\n";
}
unless ($] >= 5.006001) {
	print STDERR "*** This Perl version ($]) is not supported\n";
}

# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    'NAME'	=> 'Set::Object',
    'VERSION_FROM' => 'lib/Set/Object.pm', # finds $VERSION
    'ABSTRACT'  => "Unordered collections (sets) of Perl Objects",
    'LIBS'	=> [''],   # e.g., '-lm' 
    'DEFINE'	=> '',     # e.g., '-DHAVE_SOMETHING' 
    'INC'	=> '',     # e.g., '-I/usr/include/other' 
    PM => {'lib/Set/Object.pm' => '$(INST_LIBDIR)/Object.pm',
	   'lib/Set/Object/Weak.pm' => '$(INST_LIBDIR)/Object/Weak.pm',
	  },
    PREREQ_PM => { 'Scalar::Util' => 0 },
    test => { TESTS => join(' ', glob('t/*/*.t')) },
);