Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 48 lines (45 sloc) 1.511 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
<?php
require_once 'PEAR/PackageFileManager2.php';
PEAR::setErrorHandling(PEAR_ERROR_DIE);
$a = PEAR_PackageFileManager2::importOptions(
    dirname(__FILE__) . '/package-index.xml',
    array(
        'packagefile' => 'package-index.xml',
        'baseinstalldir' => '/pear.php.net/',
        'filelistgenerator' => 'svn',
        'roles' => array('*' => 'www'),
        'simpleoutput' => true,
        'include' => array(
            'public_html/about/credits.php',
            'public_html/about/index.php',
            'public_html/about/privacy.php',
            'public_html/group/',
            'public_html/news/',
            'public_html/qa/index.php',
            'public_html/support/',
            'public_html/copyright.php',
            'public_html/index.php',
            'public_html/mirrors.php',
            'public_html/gophp5.php',
        ),
    )
);
$a->setReleaseVersion('1.22.1');
$a->setReleaseStability('stable');
$a->setAPIStability('stable');
$a->setNotes('
Link to new qa tools
');
$a->resetUsesrole();
$a->clearDeps();
$a->setPhpDep('5.2.3');
$a->setPearInstallerDep('1.8.0');
$a->addPackageDepWithChannel('required', 'pearweb_qa', 'pear.php.net', '1.0.2');
$a->addPackageDepWithChannel('required', 'pearweb_pepr', 'pear.php.net', '1.0.2');
$a->addPackageDepWithChannel('required', 'pearweb', 'pear.php.net', '1.21.1');

$a->generateContents();

if (isset($_SERVER['argv']) && @$_SERVER['argv'][1] == 'make') {
    $a->writePackageFile();
} else {
    $a->debugPackageFile();
}
Something went wrong with that request. Please try again.