1. extsrcrelease and
    extbinrelease changes
    for PECL developers

extsrcrelease and extbinrelease changes for PECL developers

extsrcrelease and extbinrelease changes for PECL developers – PECL-specific details of package.xml 2.0

Special extension package tags

Most of the tags for PECL-style PHP extension releases are identical to those for PEAR-style PHP script releases. There are a few extsrc/extbin-specific tags that all PECL developers must know about.

PECL extsrc/extbin-specific tags in package.xml 2.0
Tag Description of usage
<providesextension> The <providesextension> tag must be right after <dependencies>. This tag tells the installer the name of the extension provided by the package, allowing different package names from the extension. This could be important for binary packages (such as PDO and PDO_windows or something along those lines).
<providesextension>PDO</providesextension>
<srcpackage> or <srcuri> <srcpackage> or <srcuri> must follow <providesextension>. Extension binary packages must define either a <srcpackage> tag (for package.xml containing <channel>) or a <srcuri> tag (for package.xml containing <uri>).
<name>PDO_windowsbin</name>
<channel>pecl.php.net</channel>
<!-- snip -->
<providesextension>PDO</providesextension>
<srcpackage>PDO</srcpackage>
or,
<name>Foo_windowsbin</name>
<uri>http://www.example.com/Foo_windowsbin-1.5.0.tgz</uri>
<!-- snip -->
<providesextension>Foo</providesextension>
<srcuri>http://www.example.com/Foo-1.5.0.tgz</srcuri>

Special information for PECL developers (Previous) Detailed Tag Reference for package.xml version 2.0 (Next)
Last updated: Tue, 02 Jun 2009 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

Note by: mbiama
Static url

Remote

php pyrus.phar install http://angosso.net/PackageName-1.2.3.tgz