| 1 |
root |
1.1 |
use ExtUtils::MakeMaker; |
| 2 |
|
|
|
| 3 |
|
|
use Canary::Stability TDB_FileX => 1, 5.010; |
| 4 |
|
|
|
| 5 |
|
|
# FYI, ExtUtils::MakeMaker adds recognised command line args to this |
| 6 |
|
|
# hash too. eg: perl Makefile.PL INC=-I/path LIBS='-L/other/path -ltdb' |
| 7 |
|
|
WriteMakefile( |
| 8 |
|
|
'NAME' => 'TDB_FileX', |
| 9 |
|
|
'VERSION_FROM' => 'TDB_FileX.pm', # finds $VERSION |
| 10 |
|
|
PREREQ_PM => { |
| 11 |
|
|
common::sense => 3, |
| 12 |
|
|
}, |
| 13 |
|
|
CONFIGURE_REQUIRES => { "ExtUtils::MakeMaker" => 6.52, "Canary::Stability" => 0 }, |
| 14 |
|
|
ABSTRACT_FROM => 'TDB_FileX.pm', # retrieve abstract from module |
| 15 |
|
|
AUTHOR => 'Angus Lees <gus@inodes.org>', |
| 16 |
|
|
#'CONFIGURE' => \&configure, |
| 17 |
|
|
'LIBS' => ['-ltdb'], |
| 18 |
|
|
#'OPTIMIZE' => '-g -Wall', |
| 19 |
|
|
'clean' => {FILES => "t/test.tdb"}, |
| 20 |
|
|
); |
| 21 |
|
|
|