From: Michael M Slusarz Date: Fri, 27 Aug 2010 17:28:05 +0000 (-0600) Subject: Add horde/Role package. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d8674f2f64ad42af08d61a73afac35f042e515ce;p=horde.git Add horde/Role package. --- diff --git a/framework/Role/Horde.php b/framework/Role/Horde.php new file mode 100644 index 000000000..0160e90b1 --- /dev/null +++ b/framework/Role/Horde.php @@ -0,0 +1,34 @@ + + * @category Horde + * @copyright 2010 The Horde Project (http://www.horde.org/) + * @license http://www.fsf.org/copyleft/gpl.html GPL + * @package Role + */ + +/** + * @author Michael Slusarz + * @category Horde + * @copyright 2010 The Horde Project (http://www.horde.org/) + * @license http://www.fsf.org/copyleft/gpl.html GPL + * @package Role + */ +class PEAR_Installer_Role_Horde extends PEAR_Installer_Role_Common +{ + function setup(&$installer, $pkg, $atts, $file) + { + /* Check for proper setup. */ + $pear_config = PEAR_Config::singleton(); + if (!$pear_config->get('horde_dir')) { + return PEAR::raiseError('Missing "horde_dir" configuration in PEAR.'); + } + } +} diff --git a/framework/Role/Horde.xml b/framework/Role/Horde.xml new file mode 100644 index 000000000..f18e537a6 --- /dev/null +++ b/framework/Role/Horde.xml @@ -0,0 +1,19 @@ + + php + 1 + horde_dir + 1 + + + + + + + directory + + Filesystem directory where the base Horde application is installed + Base Horde directory + File Locations + + + diff --git a/framework/Role/package.xml b/framework/Role/package.xml new file mode 100644 index 000000000..450a0f558 --- /dev/null +++ b/framework/Role/package.xml @@ -0,0 +1,53 @@ + + + Role + pear.horde.org + PEAR Installer role used to install Horde components + This package provides a method for PEAR to install Horde + components into a base Horde installation. + + + Michael Slusarz + slusarz + slusarz@horde.org + yes + + 2010-08-27 + + 0.1.0 + 0.1.0 + + + beta + beta + + LGPL + * Initial package. + + + + + + + + + + + 5.2.0 + + + 1.7.0 + + + + + + + + + + +