Changeset 303 for trunk

Show
Ignore:
Timestamp:
08/05/08 23:04:28 (4 years ago)
Author:
john
Message:

moved makepkg.php and updated README for how to build PEAR module

Location:
trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/README

    r285 r303  
    2626* FreeBSD, Unix, Linux, MacOSX, Windows 
    2727 
     28== Building & Installing PHPonTrax PEAR Module 
     29From the commandline run the following command: 
     30php makepkg.php 
     31After that runs it will make a build folder with the PEAR module called: 
     32PHPonTrax-<version>.tgz  
     33To install this newly generated PEAR module run the following command: 
     34pear install -a PHPonTrax-<version>.tgz 
     35If you have a previously installed version exists first run: 
     36pear uninstall PHPonTrax 
     37 
    2838== Getting Started 
    2939http://wiki.phpontrax.com/How_do_I_install/upgrade_Trax%3F 
  • trunk/makepkg.php

    r302 r303  
    4444 *  @version $Id$ 
    4545 */ 
     46 
     47 
     48chdir("./trax/"); 
    4649 
    4750require_once('PEAR/PackageFileManager2.php'); 
     
    149152} 
    150153 
     154// Move files into a build folder and clean up files 
     155chdir(".."); 
     156if(!is_dir("build")) { 
     157    mkdir("build"); 
     158} 
     159rename("./trax/PHPonTrax-".$trax_version.".tgz", "build/PHPonTrax-".$trax_version.".tgz"); 
     160unlink("./trax/package.xml"); 
     161 
    151162// -- set Emacs parameters -- 
    152163// Local variables: 
  • trunk/trax/vendor/trax/inflector.php

    r276 r303  
    3030 
    3131 
    32 include_once(TRAX_LIB_ROOT . "/inflections.php"); 
     32include_once("inflections.php"); 
    3333 
    3434/** 
  • trunk/trax/vendor/trax/trax.php

    r301 r303  
    3737    const 
    3838        MAJOR = 0, 
    39         MINOR = 14, 
    40         TINY = 1; 
     39        MINOR = 15, 
     40        TINY = 0; 
    4141     
    4242    public static