4e7eec146d
Ima::DBI attempts to organize and facilitate caching and more efficient use of database connections and statement handles. One of the things I always found annoying about writing large programs with DBI was making sure that I didn't have duplicate database handles open. I was also annoyed by the somewhat wasteful nature of the prepare/execute/finish route I'd tend to go through in my subroutines. The new DBI->connect_cached and DBI->prepare_cached helped alot, but I still had to throw around global datasource, username and password information. So, after a while I grew a small library of DBI helper routines and techniques. Ima::DBI is the culmination of all this, put into a nice(?), clean(?) class to be inherited from.
22 lines
720 B
Makefile
22 lines
720 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2004/11/06 01:29:50 he Exp $
|
|
#
|
|
|
|
DISTNAME= Ima-DBI-0.33
|
|
PKGNAME= p5-${DISTNAME}
|
|
SVR4_PKGNAME= p5idi
|
|
CATEGORIES= perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/T/TM/TMTM/}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/~tmtm/Ima-DBI-0.33/
|
|
COMMENT= Perl5 module for DB connection caching and organization
|
|
|
|
DEPENDS+= p5-DBI>=1.20:../../databases/p5-DBI
|
|
DEPENDS+= p5-Class-WhiteHole>=0.03:../../devel/p5-Class-WhiteHole
|
|
DEPENDS+= p5-Class-Data-Inheritable>=0.02:../../devel/p5-Class-Data-Inheritable
|
|
|
|
USE_BUILDLINK3= YES
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Ima/DBI/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|