NAME¶
dh_phppear - calculates PHP PEAR dependencies
SYNOPSIS¶
dh_phppear [
debhelper options] [
options]
DESCRIPTION¶
dh_phppear is a debhelper program that is responsible for generating the
${phppear:*} substitutions and adding them to substvars files.
The program will look at
package.xml (or
package2.xml) in your
package, and will use this information to generate:
- •
- ${phppear:summary}, ${phppear:description} and
${phppear:channel}
- •
- ${phppear:Debian-Depends}, ${phppear:Debian-Recommends} and
${phppear:Debian-Breaks}
The program will look at
channel.xml in your package, and will use this
information to generate:
- •
- ${phppear:channel-name}, ${phppear:channel-summary} and
${phppear:channel-alias}
- •
- ${phppear:channel-common-description}
Those variables will be substituted into your package's
control file
wherever you place the token
${phppear:*}.
FILES¶
- debian/pkg-php-tools-overrides
- Package that don't want to follow automatic PEAR package name to Debian
package name conversion can override the conversion by creating this file.
It can be installed in
/usr/share/pkg-php-tools/overrides/src:package.
This feature requires pkg-php-tools (>= 1~).
The format is a set of lines, with each line having the following
fields:
- channel_url
- The channel URL as found in package.xml (example:
pear.phpunit.de).
- pear_package_name
- The PEAR package name (example: phpunit).
- debian_package_name
- The resulting Debian package name (example: phpunit).
Use builtin if the package is compiled from the php5 sourcepackage.
Use none if the PEAR package can't be simply translated to Debian
name.
OPTIONS¶
- --sourcedirectory=directory
- Assume that the original package source tree is at the specified directory
rather than the top level directory of the Debian source package tree.
This feature requires pkg-php-tools (>= 1.14~).
Debian policy, version 3.9.4
PHP PEAR policy, version yet-to-be-written
SEE ALSO¶
/usr/share/doc/pkg-php-tools/README.PEAR,
pkg-php-tools(7)
debhelper(7) (Note: This program is not part of debhelper)
AUTHOR¶
Mathieu Parent <sathieu@debian.org>