| 1 |
root |
1.1 |
use ExtUtils::MakeMaker; |
| 2 |
|
|
|
| 3 |
|
|
print <<EOF; |
| 4 |
|
|
|
| 5 |
|
|
** |
| 6 |
|
|
** This module *MUST* be linked against exactly the same libmysqlclient |
| 7 |
|
|
** as your DBD::mysql module. Otherwise it will die quickly when used. |
| 8 |
|
|
** |
| 9 |
|
|
** To adjust include and library path, edit the Makefile.PL, near the end. |
| 10 |
|
|
** |
| 11 |
|
|
|
| 12 |
|
|
EOF |
| 13 |
|
|
|
| 14 |
|
|
WriteMakefile( |
| 15 |
|
|
dist => { |
| 16 |
|
|
PREOP => 'pod2text Mysql.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
| 17 |
|
|
COMPRESS => 'gzip -9v', |
| 18 |
|
|
SUFFIX => '.gz', |
| 19 |
|
|
}, |
| 20 |
|
|
PREREQ_PM => { |
| 21 |
|
|
Scalar::Util => 0.00, |
| 22 |
|
|
Coro => 5.1, |
| 23 |
|
|
Guard => 1.0, |
| 24 |
|
|
DBI => 0, # not actually a hard dependency |
| 25 |
|
|
DBD::mysql => 0, # not actually a hard dependency |
| 26 |
|
|
}, |
| 27 |
|
|
NAME => "Coro::Mysql", |
| 28 |
|
|
VERSION_FROM => "Mysql.pm", |
| 29 |
|
|
|
| 30 |
|
|
INC => '-I/usr/include/mysql', |
| 31 |
|
|
LIBS => ['-L/usr/lib -lmysqlclient'], |
| 32 |
|
|
); |
| 33 |
|
|
|