File: README.Debian

package info (click to toggle)
libdbi-perl 1.636-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,820 kB
  • ctags: 2,001
  • sloc: perl: 17,806; ansic: 604; makefile: 29; cpp: 4
file content (34 lines) | stat: -rw-r--r-- 1,052 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Dependencies for DBD drivers
============================

This information is only relevant for maintainers of Debian packages providing
DBD drivers.

Packages using the binary DBD<>DBI interface need to depend on the
perl-dbdabi-* virtual package provided by libdbi-perl.  To generate this
dependency please do one of the following:

debhelper using dh:

Use the "perl_dbi" addon and ensure ${perl:Depends} is used in debian/control.
This requires a build-dependency on libdbi-perl (>= 1.612).

The debian/rules file might look as follows:

  #!/usr/bin/make -f
  %:
          dh $@ --with perl_dbi

old-style debhelper:

Run dh_perl_dbi after dh_perl and ensure ${perl:Depends} is used in
debian/control.  This requires a build dependency on libdbi-perl (>= 1.612).

packages not using debhelper:

Include /usr/share/libdbi-perl/perl-dbdabi.make in debian rules and use
PERL_DBDABI_DEPENDS.  This requires a build-dependency on
libdbi-perl (>= 1.610.90+is+1.609).

See http://bugs.debian.org/577209 for a discussion why this dependency is
required.