File: README.Debian

package info (click to toggle)
libdbi-perl 1.643-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,932 kB
  • sloc: perl: 18,244; ansic: 608; makefile: 30; cpp: 4
file content (37 lines) | stat: -rw-r--r-- 1,181 bytes parent folder | download | duplicates (3)
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
35
36
37
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

Alternatively, since libdbi-perl/1.642-1 you can just build depend on
dh-sequence-perl-dbi and omit the "--with perl_dbi" part.

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.