[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Perl Policy



Hi

I'm packaging SQL Relay (Bug #119700), continuing work started by Andreas Tille.
I have a few questions regarding Perl Policy:

1. SQL Relay has two Perl APIs: a DBI integration and a second, more
"proprietary" (for lack of a better word) one. Sould I split these up
into two packages - libfirstworks-sqlr-perl (containing the modules
Firstworks::SQLRConnection and Firstworks:SQLRCursor which are always
used together) and libdbd-sqlrelay-perl? Or would it be better to include
both apis into one package, since the DBD package is a DBD wrapper for
the other one and thus depends on it?

2. The modules should go into the "vendor" directory. My debian/rules file
currently does a simple "configure;make" in the build rule; this builds
all of SQL Relay, descending into various directories but it installs the
Perl modules in the "core" directories. Which is the correct approach:
to modify the upstream Makefile (unlikely); to run
	cd src/api/perl/DBDi;\
	perl src/api/perl/DBD/Makefile.PL INSTALLDIRS=vendor;\
	$(MAKE) OPTIMIZE="-O2 -g -Wall"
(and analogous for the two directories of the other api); or is there a
cool elegant method I am overlooking?

Florian

Attachment: pgpeo5fmLaKGY.pgp
Description: PGP signature


Reply to: