Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (34 sloc) 1.222 kB
<?php
/*
* A simple example
*
* @category PEAR
* @package PEAR_PackageFileManager
* @author Greg Beaver <cellog@php.net>
* @copyright 2003-2006 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id$
* @link http://pear.php.net/package/PEAR_PackageFileManager
* @since File available since Release 0.1
* @ignore
*/
require_once 'PEAR/PackageFileManager.php';
PEAR::setErrorHandling(PEAR_ERROR_DIE);
$test = new PEAR_PackageFileManager();
$test->setOptions(array(
'package' => 'HTML_TagCloud',
'summary' => 'generate a "tag cloud" in HTML',
'description' => 'HTML_TagCloud enables you to generate a "tag cloud" in HTML',
'baseinstalldir' => 'HTML',
'version' => '0.1.0',
'packagedirectory' => '/home/shouma/dev/php/pear/HTML_TagCloud-0.1.0',
'state' => 'beta',
'filelistgenerator' => 'file',
'notes' => 'First Release as PEAR Package',
'ignore' => array('package.xml', 'generatePackage.xml.php')
));
$test->addDependency('PEAR', '1.1');
$test->addDependency('php', '5.0.0', 'ge', 'php');
$test->addMaintainer('shomas', 'lead', 'Shoma Suzuki', 'shoma@catbot.net');
$test->writePackageFile();
?>
Jump to Line
Something went wrong with that request. Please try again.