-
Notifications
You must be signed in to change notification settings - Fork 0
/
packagexmlsetup.php
21 lines (20 loc) · 1.12 KB
/
packagexmlsetup.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/**
* Extra package.xml settings such as dependencies.
* More information: http://pear.php.net/manual/en/pyrus.commands.make.php#pyrus.commands.make.packagexmlsetup
*/
/**
* for example:
$package->dependencies['required']->package['pear2.php.net/PEAR2_Autoload']->save();
$package->dependencies['required']->package['pear2.php.net/PEAR2_Exception']->save();
$package->dependencies['required']->package['pear2.php.net/PEAR2_MultiErrors']->save();
$package->dependencies['required']->package['pear2.php.net/PEAR2_HTTP_Request']->save();
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_Autoload']->save();
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_Exception']->save();
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_MultiErrors']->save();
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_HTTP_Request']->save();
*/
$package->dependencies['required']->php = '5.3.2';
$package->dependencies['required']->package['pear2.php.net/PEAR2_Templates_Savant']->save();
$package->dependencies['required']->package['pear2.php.net/PEAR2_Cache_Lite']->save();
?>