* @author gERD Schaufelberger * @package patSession * @subpackage Tools */ $baseVersion = '2.0.0'; /** * uses PackageFileManager */ require_once 'PEAR/PackageFileManager.php'; /** * current version */ $version = $baseVersion . 'dev' . $argv[1]; $dir = dirname( __FILE__ ); /** * current state */ $state = 'devel'; /** * release notes */ $notes = <<setOptions( array( 'package' => 'patSession', 'summary' => 'Session management package.', 'description' => $description, 'version' => $version, 'state' => $state, 'license' => 'LGPL', 'filelistgenerator' => 'file', 'ignore' => array( 'package.php', 'autopackage.php', 'package.xml', '.cvsignore' ), 'notes' => $notes, 'simpleoutput' => true, 'baseinstalldir' => 'pat', 'packagedirectory' => $dir, 'dir_roles' => array( 'docs' => 'doc', 'examples' => 'doc', 'tests' => 'test', ) ) ); if (PEAR::isError($result)) { echo $result->getMessage(); die(); } $package->addMaintainer('gerd', 'lead', 'gERD Schaufelberger', 'gerd@php-tools.net'); $package->addDependency('patError', '', 'has', 'pkg', false); $package->addDependency('php', '5.0.0', 'ge', 'php', false); $result = $package->writePackageFile(); if (PEAR::isError($result)) { echo $result->getMessage(); die(); } ?>