<?php
/**
* PEAR_Installer_Role_Chiarafoo
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to license@php.net so we can mail you a copy immediately.
*
* @category pear
* @package Chiarafoo
* @author Greg Beaver <cellog@php.net>
* @copyright 2005 Greg Beaver
* @license http://www.php.net/license/3_0.txt PHP License 3.0
* @version CVS: $Id: customroles.xml,v 1.4 2005/11/03 05:06:52 cellog Exp $
* @link http://pear.chiaraquartet.net/index.php?package=Chiarafoo
* @since File available since Release 0.1.0
*/
/**
* @category pear
* @package Chiarafoo
* @author Greg Beaver <cellog@php.net>
* @copyright 2005 Greg Beaver
* @license http://www.php.net/license/3_0.txt PHP License 3.0
* @version Release: @package_version@
* @link http://pear.chiaraquartet.net/index.php?package=Chiarafoo
* @since Class available since Release 0.1.0
*/
class PEAR_Installer_Role_Chiarafoo extends PEAR_Installer_Role_Common
{
/**
* @param PEAR_Installer
* @param PEAR_PackageFile_v2
* @param array file attributes
* @param string relative path to file in package.xml
*/
function setup(&$installer, $pkg, $atts, $file)
{
// do something special with the installer
}
}
?>
releasetypes defines the kind of releases that this role can be used in. For instance,
the "src" role is reserved for extsrc packages, and cannot be used in regular
PEAR-style php releases. The "data" role can be used in any release, and would
define <releasetypes> as:
might convert into something like "/usr/local/lib/php/Foo" or
"C:\php5\pear\Foo".
Note that in order to use multiple <constant> or <text> tags,
you must append a numbered suffix as in the <text0> <text1> example above.
Only one PEAR configuration variable may be used per default value.
Note that if you use <type>integer</type>, no matter what default value
is specified, it will be casted into an integer by PEAR_Config.