dh_perl_dbi
add dependencies required for DBI modules
Synopsis
dh_perl_dbi
[debhelper options]
add an example, a script, a trick and tips
examples
source
sed "s,@DBDABI_VERSION@,$(DBDABI_VERSION),"
debian/dh_perl_dbi.in >debian/dh_perl_dbi
chmod +x debian/dh_perl_dbi
chmod +x debian/dh_perl_dbi
pod2man debian/dh_perl_dbi debian/dh_perl_dbi.1
override_dh_gencontrol:
dh_gencontrol -- -Vperl-dbdabi-version=$(DBDABI_VERSION)
description
dh_perl_dbi is
a debhelper program that is responsible for adding a
dependency on perl-dbdabi-* to the
${perl:Depends} substitution variable. Such a dependency is
required for packages that use the DBD<>
DBI binary interface; do not use this
for packages that only use the DBI
module.
A debhelper
addon is also provided. This makes it possible to just
use
#!/usr/bin/make -f
dh $@ --with perl_dbi
for
debian/rules.
copyright and license
Copyright 2010, Ansgar Burchardt
<ansgar[:at:]debian[:dot:]org>
This program is free software, you can redistribute it and/or
modify it under the same terms as Perl itself.
see also
debhelper
<http://bugs.debian.org/577209>